comparison Applications/StoneWebViewer/WebApplication/app.js @ 1693:eafb10992e73

synchronized browsing
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Nov 2020 13:46:50 +0100
parents e787b52d025f
children 572652803929
comparison
equal deleted inserted replaced
1692:e787b52d025f 1693:eafb10992e73
258 viewportLayoutButtonsVisible: false, 258 viewportLayoutButtonsVisible: false,
259 mouseActionsVisible: false, 259 mouseActionsVisible: false,
260 activeViewport: 0, 260 activeViewport: 0,
261 showInfo: true, 261 showInfo: true,
262 showReferenceLines: true, 262 showReferenceLines: true,
263 synchronizedBrowsing: false,
263 264
264 modalWarning: false, 265 modalWarning: false,
265 modalNotDiagnostic: false, 266 modalNotDiagnostic: false,
266 modalPreferences: false, 267 modalPreferences: false,
267 268
330 leftVisible: function(newVal, oldVal) { 331 leftVisible: function(newVal, oldVal) {
331 this.FitContent(); 332 this.FitContent();
332 }, 333 },
333 showReferenceLines: function(newVal, oldVal) { 334 showReferenceLines: function(newVal, oldVal) {
334 stone.ShowReferenceLines(newVal ? 1 : 0); 335 stone.ShowReferenceLines(newVal ? 1 : 0);
336 },
337 synchronizedBrowsing: function(newVal, oldVal) {
338 stone.SetSynchronizedBrowsingEnabled(newVal ? 1 : 0);
335 }, 339 },
336 settingNotDiagnostic: function(newVal, oldVal) { 340 settingNotDiagnostic: function(newVal, oldVal) {
337 localStorage.settingNotDiagnostic = (newVal ? '1' : '0'); 341 localStorage.settingNotDiagnostic = (newVal ? '1' : '0');
338 }, 342 },
339 settingSoftwareRendering: function(newVal, oldVal) { 343 settingSoftwareRendering: function(newVal, oldVal) {