The raycaster and piano examples would be better off in their own repo

This commit is contained in:
Sasha Koshka
2023-05-03 01:26:51 -04:00
committed by Sasha Koshka
parent abe63f4118
commit 6e1369da5c
12 changed files with 12 additions and 1123 deletions

View File

@@ -37,7 +37,7 @@ func NewDialog (
window tomo.Window,
) {
if parent == nil {
window, _ = tomo.NewWindow(image.Rectangle { })
window, _ = tomo.GetBackend().NewWindow(image.Rectangle { })
} else {
window, _ = parent.NewModal(image.Rectangle { })
}