Fixed Grammer
This commit is contained in:
commit
d9b39abbeb
@ -1,8 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="EditorInspector" inherits="ScrollContainer" version="4.0">
|
<class name="EditorInspector" inherits="ScrollContainer" version="4.0">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
A tab used to edit properties of the selected node.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
The editor inspector is by default located on the right-hand side of the editor. It's used to edit the properties of the selected node. For example, you can select a node such as the Sprite2D then edit its transform through the inspector tool. The editor inspector is an essential tool in the game development workflow.
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
@ -1433,7 +1433,11 @@ void OS_X11::set_window_fullscreen(bool p_enabled) {
|
|||||||
// Restore
|
// Restore
|
||||||
set_window_maximized(false);
|
set_window_maximized(false);
|
||||||
}
|
}
|
||||||
|
if (!p_enabled) {
|
||||||
|
set_window_position(last_position_before_fs);
|
||||||
|
} else {
|
||||||
|
last_position_before_fs = get_window_position();
|
||||||
|
}
|
||||||
current_videomode.fullscreen = p_enabled;
|
current_videomode.fullscreen = p_enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3502,4 +3506,5 @@ OS_X11::OS_X11() {
|
|||||||
window_focused = true;
|
window_focused = true;
|
||||||
xim_style = 0L;
|
xim_style = 0L;
|
||||||
mouse_mode = MOUSE_MODE_VISIBLE;
|
mouse_mode = MOUSE_MODE_VISIBLE;
|
||||||
|
last_position_before_fs = Vector2();
|
||||||
}
|
}
|
||||||
|
@ -115,6 +115,7 @@ class OS_X11 : public OS_Unix {
|
|||||||
// IME
|
// IME
|
||||||
bool im_active;
|
bool im_active;
|
||||||
Vector2 im_position;
|
Vector2 im_position;
|
||||||
|
Vector2 last_position_before_fs;
|
||||||
|
|
||||||
Size2 min_size;
|
Size2 min_size;
|
||||||
Size2 max_size;
|
Size2 max_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user