Merge pull request #382 from jshnaidman/fix/webkit-square-visibility

Square node pool visibility: hidden causes rendering artifacts on WebKitGTK
This commit is contained in:
Thibault Duplessis
2026-03-27 09:34:03 +01:00
committed by GitHub
+1 -1
View File
@@ -77,7 +77,7 @@ export const translateAndScale = (el: HTMLElement, pos: cg.NumberPair, scale = 1
};
export const setVisible = (el: HTMLElement, v: boolean): void => {
el.style.visibility = v ? 'visible' : 'hidden';
el.style.display = v ? '' : 'none';
};
export const eventPosition = (e: cg.MouchEvent): cg.NumberPair | undefined => {