Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/app.js @ 1554:6d14ed6163b1
flip x/y in Stone Web viewer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Aug 2020 16:10:00 +0200 |
parents | a4d82f1bcb10 |
children | cf652990abb1 |
comparison
equal
deleted
inserted
replaced
1553:bf02a90ca9ca | 1554:6d14ed6163b1 |
---|---|
464 if (canvas != '') { | 464 if (canvas != '') { |
465 stone.InvertContrast(canvas); | 465 stone.InvertContrast(canvas); |
466 } | 466 } |
467 }, | 467 }, |
468 | 468 |
469 FlipX() { | |
470 var canvas = this.GetActiveCanvas(); | |
471 if (canvas != '') { | |
472 stone.FlipX(canvas); | |
473 } | |
474 }, | |
475 | |
476 FlipY() { | |
477 var canvas = this.GetActiveCanvas(); | |
478 if (canvas != '') { | |
479 stone.FlipY(canvas); | |
480 } | |
481 }, | |
482 | |
469 ApplyPreferences() { | 483 ApplyPreferences() { |
470 this.modalPreferences = false; | 484 this.modalPreferences = false; |
471 | 485 |
472 if ((stone.IsSoftwareRendering() != 0) != this.settingSoftwareRendering) { | 486 if ((stone.IsSoftwareRendering() != 0) != this.settingSoftwareRendering) { |
473 document.location.reload(); | 487 document.location.reload(); |