Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing relative margin scale #2229

Merged
merged 4 commits into from
May 15, 2024
Merged

Fixing relative margin scale #2229

merged 4 commits into from
May 15, 2024

Conversation

coppolaemilio
Copy link
Collaborator

The calculation of the margin based on the editor scale and the new godot editor theme were not properly set (used magic numbers).

Before

image

After

image

@coppolaemilio
Copy link
Collaborator Author

Should probably be good to start using EditorInterface.get_editor_scale() and replace DialogicUtil.get_editor_scale(). I'll add it to this same PR

@coppolaemilio coppolaemilio merged commit 2858c4e into main May 15, 2024
4 checks passed
@coppolaemilio coppolaemilio deleted the fix-margin-scales branch May 15, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant