docs: Fix comments

This commit is contained in:
Hajime Hoshi 2019-10-22 04:15:15 +09:00
parent e391d7241d
commit 2f7ccf17f5
2 changed files with 6 additions and 4 deletions

2
go.mod
View File

@ -19,3 +19,5 @@ require (
golang.org/x/tools v0.0.0-20190830223141-573d9926052a
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)
replace github.com/hajimehoshi/oto => ../oto

8
run.go
View File

@ -105,7 +105,7 @@ var theUIContext atomic.Value
//
// On browsers, the scale is automatically adjusted.
// It is strongly recommended to use iframe if you embed an Ebiten application in your website.
// scale works as above as of 1.10.0-alpha.
// scale works as this as of 1.10.0-alpha.
// Before that, scale affected the rendering scale.
//
// On mobiles, if you use ebitenmobile command, the scale is automatically adjusted.
@ -222,7 +222,7 @@ func SetScreenSize(width, height int) {
//
// On browsers, SetScreenScale saves the given value and affects the returned value of ScreenScale,
// but does not affect actual rendering.
// SetScreenScale works as above as of 1.10.0-alpha.
// SetScreenScale works as this as of 1.10.0-alpha.
// Before that, SetScreenScale affected the rendering scale.
//
// On mobiles, SetScreenScale works, but usually the user doesn't have to call this.
@ -276,7 +276,7 @@ func SetCursorVisibility(visible bool) {
// IsFullscreen reports whether the current mode is fullscreen or not.
//
// IsFullscreen always returns false on browsers.
// IsFullscreen works as above as of 1.10.0-alpha.
// IsFullscreen works as this as of 1.10.0-alpha.
// Before that, IsFullscreen reported whether the current mode is fullscreen or not.
//
// IsFullscreen always returns false on mobiles.
@ -295,7 +295,7 @@ func IsFullscreen() bool {
// your monitor's resolution.
//
// SetFullscreen does nothing on browsers.
// SetFullscreen works as above as of 1.10.0-alpha.
// SetFullscreen works as this as of 1.10.0-alpha.
// Before that, SetFullscreen affected the fullscreen mode.
//
// SetFullscreen does nothing on mobiles.