fix: osd resolution initializing incorrectly (#383)
* fix: only update resolution when it's > 0 * fix: only render after the resolution has been initialized * chore: update type annotation to fix warning
This commit is contained in:

committed by
GitHub

parent
b75ceb6d6f
commit
8b863a611f
@@ -502,6 +502,7 @@ end
|
||||
--[[ RENDERING ]]
|
||||
|
||||
function render()
|
||||
if not display.initialized then return end
|
||||
state.render_last_time = mp.get_time()
|
||||
|
||||
-- Actual rendering
|
||||
|
Reference in New Issue
Block a user