mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fixed an issue where nodes' relative positions changed when opened in a different display scale.
This commit is contained in:
parent
9c561027fc
commit
dda1842b18
2 changed files with 7 additions and 3 deletions
|
|
@ -290,6 +290,8 @@ class VisualShaderEditor : public ShaderEditor {
|
|||
VBoxContainer *param_vbox = nullptr;
|
||||
VBoxContainer *param_vbox2 = nullptr;
|
||||
|
||||
float cached_theme_base_scale = 1.0f;
|
||||
|
||||
enum ShaderModeFlags {
|
||||
MODE_FLAGS_SPATIAL_CANVASITEM = 1,
|
||||
MODE_FLAGS_SKY = 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue