Skip to content

Commit 99f17d8

Browse files
committed
swap method call in _switchFullScreen()
1 parent 47a5bf8 commit 99f17d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/rpg_core/Graphics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,9 +1186,9 @@ Graphics._switchStretchMode = function() {
11861186
*/
11871187
Graphics._switchFullScreen = function() {
11881188
if (this._isFullScreen()) {
1189-
this._requestFullScreen();
1190-
} else {
11911189
this._cancelFullScreen();
1190+
} else {
1191+
this._requestFullScreen();
11921192
}
11931193
};
11941194

0 commit comments

Comments
 (0)