fix: notes editor size to be relative to canvas size

This commit is contained in:
Azgaar 2025-02-10 12:41:14 +01:00
parent 51c47a18d2
commit e526646076
3 changed files with 4 additions and 4 deletions

View file

@ -40,8 +40,8 @@ function editNotes(id, name) {
$("#notesEditor").dialog({
title: "Notes Editor",
width: window.innerWidth * 0.8,
height: window.innerHeight * 0.75,
width: svgWidth * 0.8,
height: svgHeight * 0.75,
position: {my: "center", at: "center", of: "svg"},
close: removeEditor
});