tweaks on config dialog responsiveness

pull/431/head
chrox 11 years ago
parent d471b3eaec
commit 2ffd9bbeef

@ -501,8 +501,7 @@ function ConfigDialog:onConfigChoice(option_name, option_value)
UIManager:scheduleIn(0.2, function()
self.configurable[option_name] = option_value
self.ui:handleEvent(Event:new("StartActivityIndicator"))
self:closeDialog()
UIManager.repaint_all = true
UIManager:setDirty(self, "partial")
end)
return true
end

@ -135,6 +135,7 @@ function ToggleSwitch:onTapSelect(arg, gev)
end
end
UIManager.repaint_all = true
return true
end
return ToggleSwitch

Loading…
Cancel
Save