2 Commits

Author SHA1 Message Date
vcoppe
a0157ddc2a New translations file.mdx (Czech) (#268) 2025-11-13 09:06:27 +01:00
vcoppe
8f595fbc7b fix safari incompatibility 2025-11-13 09:06:00 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -29,11 +29,11 @@ Soubory můžete také přetáhnout přímo ze souborového systému do okna.
Vytvořit kopii aktuálně vybraných souborů. Vytvořit kopii aktuálně vybraných souborů.
### <FileX size="16" class="inline-block" style="margin-bottom: 2px" /> Delete ### <FileX size="16" class="inline-block" style="margin-bottom: 2px" /> Smazat
Smazat aktuálně vybrané soubory. Smazat aktuálně vybrané soubory.
### <FileX size="16" class="inline-block" style="margin-bottom: 2px" /> Delete all ### <FileX size="16" class="inline-block" style="margin-bottom: 2px" /> Smazat vše
Smazat všechny soubory. Smazat všechny soubory.

View File

@@ -30,8 +30,8 @@ export class MapCursor {
constructor() { constructor() {
this._states = writable(new Set()); this._states = writable(new Set());
this._states.subscribe((states) => { this._states.subscribe((states) => {
let state = states.entries().reduce((max, entry) => { let state = Array.from(states.values()).reduce((max, value) => {
return entry[0] > max ? entry[0] : max; return value > max ? value : max;
}, MapCursorState.DEFAULT); }, MapCursorState.DEFAULT);
let canvas = get(map)?.getCanvas(); let canvas = get(map)?.getCanvas();
if (canvas) { if (canvas) {