1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fixed a bug with the Zoom tool, removed Godot's version check from Tools.gd and updated AboutDialog, CHANGELOG and Translations

This commit is contained in:
Manolis Papadeas 2021-01-26 16:34:25 +02:00
parent eff0adbf21
commit 6edfbad663
5 changed files with 12 additions and 7 deletions

View file

@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Unreleased ## Unreleased
This update has been brought to you by the contributions of: This update has been brought to you by the contributions of:
Laurenz Reinthaler (Schweini07), kleonc Laurenz Reinthaler (Schweini07), kleonc, Variable-ind
### Added ### Added
- A new pan tool, used to move around the canvas. ([#399](https://github.com/Orama-Interactive/Pixelorama/pull/399)) - A new pan tool, used to move around the canvas. ([#399](https://github.com/Orama-Interactive/Pixelorama/pull/399))
@ -17,6 +17,7 @@ Laurenz Reinthaler (Schweini07), kleonc
- Addet offset options to the grid. ([#434](https://github.com/Orama-Interactive/Pixelorama/pull/434)) - Addet offset options to the grid. ([#434](https://github.com/Orama-Interactive/Pixelorama/pull/434))
- The isometric grid has been refactored to work better and to offer more changeable options, such as the width and height of the cell bounds. ([#430](https://github.com/Orama-Interactive/Pixelorama/pull/430)) - The isometric grid has been refactored to work better and to offer more changeable options, such as the width and height of the cell bounds. ([#430](https://github.com/Orama-Interactive/Pixelorama/pull/430))
- Added portrait and landscape buttons in the new image dialog. - Added portrait and landscape buttons in the new image dialog.
- Added a new Centralize Image option in the Image menu, which places the visible pixels of the image in the center of the canvas. ([#441](https://github.com/Orama-Interactive/Pixelorama/pull/441))
### Changed ### Changed
- Undo and redo now work when their respective keyboard shortcuts are being held. ([#405](https://github.com/Orama-Interactive/Pixelorama/pull/405)) - Undo and redo now work when their respective keyboard shortcuts are being held. ([#405](https://github.com/Orama-Interactive/Pixelorama/pull/405))

View file

@ -121,6 +121,9 @@ msgstr ""
msgid "Resize Canvas" msgid "Resize Canvas"
msgstr "" msgstr ""
msgid "Centralize Image"
msgstr ""
msgid "Rotate Image" msgid "Rotate Image"
msgstr "" msgstr ""

View file

@ -40,7 +40,7 @@ signal color_changed(color, button)
var _tools = { var _tools = {
"RectSelect" : "res://src/Tools/RectSelect.tscn", "RectSelect" : "res://src/Tools/RectSelect.tscn",
"Zoom" : "res://src/Tools/Pan.tscn", "Zoom" : "res://src/Tools/Zoom.tscn",
"Pan" : "res://src/Tools/Pan.tscn", "Pan" : "res://src/Tools/Pan.tscn",
"ColorPicker" : "res://src/Tools/ColorPicker.tscn", "ColorPicker" : "res://src/Tools/ColorPicker.tscn",
"Pencil" : "res://src/Tools/Pencil.tscn", "Pencil" : "res://src/Tools/Pencil.tscn",
@ -184,10 +184,9 @@ func handle_draw(position : Vector2, event : InputEvent) -> void:
_active_button = -1 _active_button = -1
if event is InputEventMouseMotion: if event is InputEventMouseMotion:
if Engine.get_version_info().major == 3 && Engine.get_version_info().minor >= 2: pen_pressure = event.pressure
pen_pressure = event.pressure if Global.pressure_sensitivity_mode == Global.PressureSensitivity.NONE:
if Global.pressure_sensitivity_mode == Global.PressureSensitivity.NONE: pen_pressure = 1.0
pen_pressure = 1.0
if not position.is_equal_approx(_last_position): if not position.is_equal_approx(_last_position):
_last_position = position _last_position = position

View file

@ -106,6 +106,7 @@ func create_donors() -> void:
donors.create_item(donors_root).set_text(0, " MysteryStudio") donors.create_item(donors_root).set_text(0, " MysteryStudio")
donors.create_item(donors_root).set_text(0, " Daniel Gagnon") donors.create_item(donors_root).set_text(0, " Daniel Gagnon")
donors.create_item(donors_root).set_text(0, " Ryan C. Gordon (icculus)") donors.create_item(donors_root).set_text(0, " Ryan C. Gordon (icculus)")
donors.create_item(donors_root).set_text(0, " Benedikt")
func create_contributors() -> void: func create_contributors() -> void:
@ -139,6 +140,7 @@ func create_contributors() -> void:
contributors.create_item(contributor_root).set_text(0, " Vriska Weaver (henlo-birb)") contributors.create_item(contributor_root).set_text(0, " Vriska Weaver (henlo-birb)")
contributors.create_item(contributor_root).set_text(0, " Rémi Verschelde (akien-mga)") contributors.create_item(contributor_root).set_text(0, " Rémi Verschelde (akien-mga)")
contributors.create_item(contributor_root).set_text(0, " gschwind") contributors.create_item(contributor_root).set_text(0, " gschwind")
contributors.create_item(contributor_root).set_text(0, " Variable-ind")
func create_translators() -> void: func create_translators() -> void: