changeset 1536:7b326e5ee97b

reduce blinking
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2020 10:26:01 +0200
parents 301571299212
children de8cf5859e84
files StoneWebViewer/WebAssembly/StoneWebViewer.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Fri Aug 07 22:23:36 2020 +0200
+++ b/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Tue Aug 11 10:26:01 2020 +0200
@@ -1498,14 +1498,14 @@
 
       std::map<std::string, std::string> headers, arguments;
       arguments["window"] = (
-        boost::lexical_cast<std::string>(defaultWindowingCenter_) + ","  +
-        boost::lexical_cast<std::string>(defaultWindowingWidth_) + ",linear");
+        boost::lexical_cast<std::string>(windowingCenter_) + ","  +
+        boost::lexical_cast<std::string>(windowingWidth_) + ",linear");
 
       std::unique_ptr<OrthancStone::IOracleCommand> command(
         source_.CreateDicomWebCommand(
           uri, arguments, headers, new SetLowQualityFrame(
             GetSharedObserver(), sopInstanceUid, frame,
-            defaultWindowingCenter_, defaultWindowingWidth_, isMonochrome1, isPrefetch)));
+            windowingCenter_, windowingWidth_, isMonochrome1, isPrefetch)));
 
       {
         std::unique_ptr<OrthancStone::ILoadersContext::ILock> lock(context_.Lock());