fix right-click menu height

This commit is contained in:
2025-07-31 14:51:08 -05:00
parent 563a2231d6
commit 9582817930

View File

@@ -1063,4 +1063,4 @@
(choiceWindow.moveTo mousePos)
(choiceWindow.resize
(+ (or choiceWindow.selectionMarker?.width 0) (* textSize 2) (or choiceWindow.xText?.width 0) (apply max (for control choiceWindow.controls control.width)))
(* (+ 1 sortedKeys.length) textSize)))))
(Std.int choiceWindow.nextControlY)))))