mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-13 09:13:07 +00:00
Compare commits
No commits in common. "5739a8b28e25273efab8a5cbb74f46ab0d7f6b5f" and "5fa97988b5f8553b9806e5ae86226ebcd4afdece" have entirely different histories.
5739a8b28e
...
5fa97988b5
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -4,26 +4,6 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). All the dates are in YYYY-MM-DD format.
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). All the dates are in YYYY-MM-DD format.
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
## [v1.0.5] - Unreleased
|
|
||||||
This update has been brought to you by the contributions of:
|
|
||||||
Fayez Akhtar ([@Variable-ind](https://github.com/Variable-ind))
|
|
||||||
|
|
||||||
Built using Godot 4.3
|
|
||||||
|
|
||||||
### Added
|
|
||||||
- Mouse buttons can now be used as menu shortcuts. [#1070](https://github.com/Orama-Interactive/Pixelorama/issues/1070)
|
|
||||||
- Added confirm and cancel buttons in the selection tool options to confirm/cancel an active transformation.
|
|
||||||
- OKHSL Lightness sorting in palettes has been implemented. [#1126](https://github.com/Orama-Interactive/Pixelorama/pull/1126)
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
- The brush size no longer changes by <kbd>Control</kbd> + Mouse Wheel when resizing the timeline cels or the palette swatches.
|
|
||||||
- The Recorder panel now automatically records for the current project. This also allows for multiple projects to be recorded at the same time.
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
- Fixed layer effect slider values being rounded to the nearest integer.
|
|
||||||
- Fixed memory leak where the project remained referenced by a drawing tool, even when its tab was closed.
|
|
||||||
- Fixed memory leak where the first project remained forever references in memory by the Recorder panel.
|
|
||||||
|
|
||||||
## [v1.0.4] - 2024-10-25
|
## [v1.0.4] - 2024-10-25
|
||||||
This update has been brought to you by the contributions of:
|
This update has been brought to you by the contributions of:
|
||||||
Fayez Akhtar ([@Variable-ind](https://github.com/Variable-ind)), Mariano Semelman ([@msemelman](https://github.com/msemelman))
|
Fayez Akhtar ([@Variable-ind](https://github.com/Variable-ind)), Mariano Semelman ([@msemelman](https://github.com/msemelman))
|
||||||
|
|
|
@ -148,13 +148,13 @@ static func create_ui_for_shader_uniforms(
|
||||||
|
|
||||||
if u_value != "":
|
if u_value != "":
|
||||||
slider.value = int(u_value)
|
slider.value = int(u_value)
|
||||||
slider.min_value = min_value
|
|
||||||
slider.max_value = max_value
|
|
||||||
slider.step = step
|
|
||||||
if params.has(u_name):
|
if params.has(u_name):
|
||||||
slider.value = params[u_name]
|
slider.value = params[u_name]
|
||||||
else:
|
else:
|
||||||
params[u_name] = slider.value
|
params[u_name] = slider.value
|
||||||
|
slider.min_value = min_value
|
||||||
|
slider.max_value = max_value
|
||||||
|
slider.step = step
|
||||||
slider.value_changed.connect(value_changed.bind(u_name))
|
slider.value_changed.connect(value_changed.bind(u_name))
|
||||||
slider.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
|
slider.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
|
||||||
hbox.add_child(slider)
|
hbox.add_child(slider)
|
||||||
|
|
|
@ -90,4 +90,3 @@ func _on_PaletteScroll_gui_input(event: InputEvent) -> void:
|
||||||
return
|
return
|
||||||
resize_grid()
|
resize_grid()
|
||||||
set_sliders(palette_grid.current_palette, palette_grid.grid_window_origin + scroll_vector)
|
set_sliders(palette_grid.current_palette, palette_grid.grid_window_origin + scroll_vector)
|
||||||
get_window().set_input_as_handled()
|
|
||||||
|
|
|
@ -80,21 +80,15 @@ func _notification(what: int) -> void:
|
||||||
_reset_display(false)
|
_reset_display(false)
|
||||||
|
|
||||||
|
|
||||||
func _unhandled_input(event: InputEvent) -> void:
|
func _input(event: InputEvent) -> void:
|
||||||
if not editable or not is_visible_in_tree():
|
if not editable or not is_visible_in_tree():
|
||||||
return
|
return
|
||||||
if (
|
if event.is_action_pressed(global_increment_action, true):
|
||||||
not global_increment_action.is_empty()
|
|
||||||
and event.is_action_pressed(global_increment_action, true)
|
|
||||||
):
|
|
||||||
if snap_by_default:
|
if snap_by_default:
|
||||||
value += step if event.ctrl_pressed else snap_step
|
value += step if event.ctrl_pressed else snap_step
|
||||||
else:
|
else:
|
||||||
value += snap_step if event.ctrl_pressed else step
|
value += snap_step if event.ctrl_pressed else step
|
||||||
elif (
|
elif event.is_action_pressed(global_decrement_action, true):
|
||||||
not global_decrement_action.is_empty()
|
|
||||||
and event.is_action_pressed(global_decrement_action, true)
|
|
||||||
):
|
|
||||||
if snap_by_default:
|
if snap_by_default:
|
||||||
value -= step if event.ctrl_pressed else snap_step
|
value -= step if event.ctrl_pressed else snap_step
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -141,7 +141,6 @@ func _input(event: InputEvent) -> void:
|
||||||
if timeline_rect.has_point(mouse_pos):
|
if timeline_rect.has_point(mouse_pos):
|
||||||
if Input.is_key_pressed(KEY_CTRL):
|
if Input.is_key_pressed(KEY_CTRL):
|
||||||
cel_size += (2 * int(event.is_action("zoom_in")) - 2 * int(event.is_action("zoom_out")))
|
cel_size += (2 * int(event.is_action("zoom_in")) - 2 * int(event.is_action("zoom_out")))
|
||||||
get_viewport().set_input_as_handled()
|
|
||||||
|
|
||||||
|
|
||||||
func reset_settings() -> void:
|
func reset_settings() -> void:
|
||||||
|
|
Loading…
Reference in a new issue