Skip to content

Conversation

@DoomTas3r
Copy link
Contributor

@DoomTas3r DoomTas3r commented Oct 16, 2024

Adds zoom in and out buttons for touch input devices
capture

@DoomTas3r DoomTas3r force-pushed the zoom-in-and-out-buttons branch from 750b7f2 to 09977d1 Compare October 18, 2024 19:37
@DoomTas3r DoomTas3r marked this pull request as ready for review October 20, 2024 21:09
Copy link
Contributor

@manuq manuq left a comment

Choose a reason for hiding this comment

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

This is a great contribution! Only one thing requested: the buttons should contain icons, not text.

layout_mode = 2
focus_mode = 0
theme_override_font_sizes/font_size = 24
text = "-"
Copy link
Contributor

Choose a reason for hiding this comment

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

layout_mode = 2
focus_mode = 0
theme_override_font_sizes/font_size = 24
text = "+"
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, it should be an icon button.

@DoomTas3r DoomTas3r requested a review from manuq October 21, 2024 18:14
Copy link
Contributor

@manuq manuq left a comment

Choose a reason for hiding this comment

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

With the icons this is excellent now! Please squash the commits and add a descriptive commit message.

Here is a good article about writting good commmit messages: https://dhwthompson.com/2019/my-favourite-git-commit


func _on_zoom_out_button_pressed() -> void:
if zoom > 0.2:
zoom /= ZOOM_FACTOR
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Proper input options are necessary for each platform, especially when the interface primarily utilizes point-and-click input
@DoomTas3r DoomTas3r force-pushed the zoom-in-and-out-buttons branch from f48bd11 to 7ac9caa Compare October 21, 2024 20:25
@manuq manuq merged commit 94a4d60 into endlessm:main Oct 22, 2024
3 checks passed
@DoomTas3r DoomTas3r deleted the zoom-in-and-out-buttons branch October 23, 2024 04:47
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