Recalculate Font on window resize
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user