Fullscreen Cycle
Posted: Fri Aug 06, 2021 12:54 pm
Can switch in-beetwen window mode easly and return window state
Main feature is .cycle(), it allow to quickly switch in-beetwen windowed --> maximized --> fullscreen --> ..., modes; and proper shortcuts to maximized, windowed, minimized and fullscreen modes
Also, have .getState(--optional argument "string") which will return current window state as number or string, e.g "windowed" or 2
GitHub gist page
(beware of yanderedev code "style")
Main feature is .cycle(), it allow to quickly switch in-beetwen windowed --> maximized --> fullscreen --> ..., modes; and proper shortcuts to maximized, windowed, minimized and fullscreen modes
Also, have .getState(--optional argument "string") which will return current window state as number or string, e.g "windowed" or 2
GitHub gist page
(beware of yanderedev code "style")