Repos / shark / c8a301a252
commit c8a301a252353a9e721dc5f9cb1bae418467b378
Author: Bùi Thành Nhân <hi@imnhan.com>
Date: Thu Jun 30 23:22:04 2022 +0700
make sure shark is always on top
diff --git a/main.go b/main.go
index 9a7b27f..12192f0 100644
--- a/main.go
+++ b/main.go
@@ -168,6 +168,7 @@ func main() {
ebiten.SetWindowDecorated(false)
ebiten.SetScreenTransparent(true)
ebiten.SetWindowPosition(9999, 9999)
+ ebiten.SetWindowFloating(true)
if err := ebiten.RunGame(&game); err != nil {
log.Fatal(err)
}