UI: Mouse coordinate improvements | Meta-program: Enum deserialization support | Transform: Added set_scale convenience procedure
This commit is contained in:
@@ -368,7 +368,7 @@ ui_texture :: (texture: Texture_Handle, identifier: s64 = 0, loc := #caller_loca
|
||||
ui_interactable_texture :: (texture: Texture_Handle, identifier: s64 = 0, loc := #caller_location) -> Interaction_State {
|
||||
ui_set_next_texture(texture);
|
||||
ui_set_next_background_color(.{0.1,0.1,0.1,1});
|
||||
box := ui_box_make(.DRAW_BACKGROUND | .CLICKABLE, get_hash(loc, identifier));
|
||||
box := ui_box_make(.DRAW_BACKGROUND | .CLICKABLE | .PLAY_MODE_FOCUSABLE, get_hash(loc, identifier));
|
||||
|
||||
return box.interaction;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user