You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Improve HTML5 canvas management
- set_window_maximized hides page content - Fix sporadic full-screen render-size bug in Chromium - Smoother resizing for maximized canvas
This commit is contained in:
@@ -59,7 +59,10 @@ class OS_JavaScript : public OS_Unix {
|
||||
const char *gl_extensions;
|
||||
|
||||
InputDefault *input;
|
||||
Vector2 windowed_size;
|
||||
bool window_maximized;
|
||||
bool soft_fs_enabled;
|
||||
bool canvas_size_adjustment_requested;
|
||||
VideoMode video_mode;
|
||||
CursorShape cursor_shape;
|
||||
MainLoop *main_loop;
|
||||
@@ -130,6 +133,8 @@ public:
|
||||
virtual void set_window_fullscreen(bool p_enable);
|
||||
virtual bool is_window_fullscreen() const;
|
||||
|
||||
void request_canvas_size_adjustment();
|
||||
|
||||
virtual String get_name();
|
||||
virtual MainLoop *get_main_loop() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user