Changed `core.redraw` to be set to `true` by default

As the window isn't created until the first frame is drawn this is required to
assure the window is ever shown without relying on the assumption that some
other part of the program would have set this to true
This commit is contained in:
rxi 2020-05-24 08:04:47 +01:00
parent 61092fbb99
commit 946c125fd4
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ function core.init()
core.docs = {} core.docs = {}
core.threads = setmetatable({}, { __mode = "k" }) core.threads = setmetatable({}, { __mode = "k" })
core.project_files = {} core.project_files = {}
core.redraw = true
core.root_view = RootView() core.root_view = RootView()
core.command_view = CommandView() core.command_view = CommandView()