Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/app.js @ 1721:d4a8e2b19a65
new "GrayscaleWindowingChanged" message from GrayscaleWindowingSceneTracker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Dec 2020 12:51:57 +0100 |
parents | b8d19f53aaca |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1720:b8d19f53aaca | 1721:d4a8e2b19a65 |
---|---|
284 | 284 |
285 window.addEventListener('WindowingUpdated', function(args) { | 285 window.addEventListener('WindowingUpdated', function(args) { |
286 if (args.detail.canvasId == that.canvasId) { | 286 if (args.detail.canvasId == that.canvasId) { |
287 that.windowingCenter = args.detail.windowingCenter; | 287 that.windowingCenter = args.detail.windowingCenter; |
288 that.windowingWidth = args.detail.windowingWidth; | 288 that.windowingWidth = args.detail.windowingWidth; |
289 console.log(that.windowingCenter + ' ' + that.windowingWidth); | |
290 } | 289 } |
291 }); | 290 }); |
292 }, | 291 }, |
293 methods: { | 292 methods: { |
294 DragDrop: function(event) { | 293 DragDrop: function(event) { |