Request a repaint when popping and shifting states

This commit is contained in:
2023-01-05 08:36:38 -06:00
parent 186ad220cc
commit 01a9187a57

View File

@@ -141,10 +141,14 @@ module CyberarmEngine
def pop_state
@states.pop
current_state.request_repaint if current_state&.is_a?(GuiState)
end
def shift_state
@states.shift
current_state.request_repaint if current_state&.is_a?(GuiState)
end
def has_focus?