mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: fix a wrong comment about deprecations
This commit is contained in:
parent
2c2c4bc428
commit
7b8ed506b2
@ -84,7 +84,7 @@ func SetWindowResizingMode(mode WindowResizingModeType) {
|
|||||||
// IsWindowResizable reports whether the window is resizable by the user's dragging on desktops.
|
// IsWindowResizable reports whether the window is resizable by the user's dragging on desktops.
|
||||||
// On the other environments, IsWindowResizable always returns false.
|
// On the other environments, IsWindowResizable always returns false.
|
||||||
//
|
//
|
||||||
// Deprecated: as of v2.2. Use WindowResizingMode instead.
|
// Deprecated: as of v2.3. Use WindowResizingMode instead.
|
||||||
func IsWindowResizable() bool {
|
func IsWindowResizable() bool {
|
||||||
return ui.Get().Window().ResizingMode() == ui.WindowResizingModeEnabled
|
return ui.Get().Window().ResizingMode() == ui.WindowResizingModeEnabled
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ func IsWindowResizable() bool {
|
|||||||
// SetWindowResizable sets whether the window is resizable by the user's dragging on desktops.
|
// SetWindowResizable sets whether the window is resizable by the user's dragging on desktops.
|
||||||
// On the other environments, SetWindowResizable does nothing.
|
// On the other environments, SetWindowResizable does nothing.
|
||||||
//
|
//
|
||||||
// Deprecated: as of v2.2, Use SetWindowResizingMode instead.
|
// Deprecated: as of v2.3, Use SetWindowResizingMode instead.
|
||||||
func SetWindowResizable(resizable bool) {
|
func SetWindowResizable(resizable bool) {
|
||||||
mode := ui.WindowResizingModeDisabled
|
mode := ui.WindowResizingModeDisabled
|
||||||
if resizable {
|
if resizable {
|
||||||
|
Loading…
Reference in New Issue
Block a user