mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
internal/ui: refactoring: indentation
This commit is contained in:
parent
2ab255dd1c
commit
085b64006d
@ -1325,7 +1325,9 @@ func (u *userInterfaceImpl) setWindowSizeInDIPImpl(width, height int, fullscreen
|
|||||||
u.swapBuffers()
|
u.swapBuffers()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if mw := u.minimumWindowWidth(); width < mw {
|
if mw := u.minimumWindowWidth(); width < mw {
|
||||||
width = mw
|
width = mw
|
||||||
}
|
}
|
||||||
@ -1362,7 +1364,6 @@ func (u *userInterfaceImpl) setWindowSizeInDIPImpl(width, height int, fullscreen
|
|||||||
u.window.SetSize(newW, newH)
|
u.window.SetSize(newW, newH)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// updateVsync must be called on the main thread.
|
// updateVsync must be called on the main thread.
|
||||||
|
Loading…
Reference in New Issue
Block a user