fixed lit thresholds

This commit is contained in:
anton.gurov
2019-11-07 13:30:37 +03:00
parent dd2e68a8e8
commit e9e6160f9e
6 changed files with 61 additions and 39 deletions

View File

@ -8,6 +8,7 @@ import (
)
type MainWindow struct {
*types.Rect
ctx util.ClientCtx
layers map[string]types.Renderable
}
@ -52,6 +53,7 @@ func (mw *MainWindow) Open() {
config.FontSize,
),
)
mw.Rect = types.NewRect(0,0, config.MainWindowSizeX, config.MainWindowSizeY)
}
func (mw *MainWindow) Close() {