mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
uidriver/glfw: Misspelling
This commit is contained in:
parent
07480ed66d
commit
9f8054c2d5
@ -577,7 +577,7 @@ func (u *UserInterface) DeviceScaleFactor() float64 {
|
||||
|
||||
// deviceScaleFactor must be called from the main thread.
|
||||
func (u *UserInterface) deviceScaleFactor() float64 {
|
||||
// Before calling SetWindowPosition, the window's positin is not reliable.
|
||||
// Before calling SetWindowPosition, the window's position is not reliable.
|
||||
if u.iwindow.setPositionCalled {
|
||||
// Avoid calling monitor.GetPos if we have the monitor position cached already.
|
||||
if cm, ok := getCachedMonitor(u.window.GetPos()); ok {
|
||||
|
Loading…
Reference in New Issue
Block a user