# HG changeset patch # User Sebastien Jodogne # Date 1597673400 -7200 # Node ID 6d14ed6163b18d48ca0260e58a91bb7e17ee3309 # Parent bf02a90ca9ca456253235431fd382487d4e65a5b flip x/y in Stone Web viewer diff -r bf02a90ca9ca -r 6d14ed6163b1 Applications/StoneWebViewer/WebApplication/app.js --- a/Applications/StoneWebViewer/WebApplication/app.js Mon Aug 17 13:25:54 2020 +0200 +++ b/Applications/StoneWebViewer/WebApplication/app.js Mon Aug 17 16:10:00 2020 +0200 @@ -466,6 +466,20 @@ } }, + FlipX() { + var canvas = this.GetActiveCanvas(); + if (canvas != '') { + stone.FlipX(canvas); + } + }, + + FlipY() { + var canvas = this.GetActiveCanvas(); + if (canvas != '') { + stone.FlipY(canvas); + } + }, + ApplyPreferences() { this.modalPreferences = false; diff -r bf02a90ca9ca -r 6d14ed6163b1 Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Mon Aug 17 13:25:54 2020 +0200 +++ b/Applications/StoneWebViewer/WebApplication/index.html Mon Aug 17 16:10:00 2020 +0200 @@ -315,6 +315,18 @@
+ +
+ +
+ +
+ +