1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-21 04:19:43 +00:00

web:: 'take screenshot' feature now creates a SVG file and opens it in a new window

This commit is contained in:
Zeno Rogue
2018-12-13 14:53:44 +01:00
parent c73b598d93
commit 8d1e341555
4 changed files with 56 additions and 30 deletions

View File

@@ -316,12 +316,10 @@ void handleKeyNormal(int sym, int uni) {
if(cheater && sym < 256 && sym > 0) {
if(applyCheat(uni, mouseover))
sym = 0;
uni = sym = 0;
}
#if ISMOBILE
if(uni == 'A' && !cheater) pushScreen(shot::menu);
#endif
if(uni == 'A') { pushScreen(shot::menu); uni = sym = 0; }
if(DEFAULTNOR(sym)) handlePanning(sym, uni);