Skip to content

Zoom label enhancements#188

Merged
starnight merged 2 commits intomainfrom
zoom-label-enhancements
Aug 8, 2024
Merged

Zoom label enhancements#188
starnight merged 2 commits intomainfrom
zoom-label-enhancements

Conversation

@dylanmccall
Copy link
Copy Markdown
Contributor

@dylanmccall dylanmccall commented Aug 7, 2024

For #186, this adds a feature which resets the editor zoom level and scroll position when the user clicks the zoom label (now button) in the bottom right corner. This is consistent with the zoom button in Godot's 2D editor, although for our purpose I felt better about always resetting the scroll position.

For #187, this changes the zoom label to use CanvasItem.modulate instead of overriding the text colour.

This fixes the zoom label being difficult to see with certain editor
themes.

#187
Copy link
Copy Markdown
Contributor

@starnight starnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful features! Thanks!

@starnight starnight merged commit 55acc2d into main Aug 8, 2024
@starnight starnight deleted the zoom-label-enhancements branch August 8, 2024 06:33
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.

2 participants