Recalculate Font on window resize

This commit is contained in:
SamratGhale
2026-03-27 20:40:35 +05:45
parent 00ae6cbc4e
commit f49651384c
7 changed files with 188 additions and 148 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
package edit2d
import b2 "vendor:box2d"
import im "shared:odin-imgui"
//import im "shared:odin-imgui"
import "vendor:glfw"
import "base:runtime"
import draw "./draw"
@@ -175,8 +175,8 @@ handle_input :: proc(
level_save_to_file(level, state)
}
if im.GetIO().WantCaptureMouse do return false
if im.GetIO().WantCaptureKeyboard do return false
//if im.GetIO().WantCaptureMouse do return false
//if im.GetIO().WantCaptureKeyboard do return false