1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-12 16:53:07 +00:00

Compare commits

..

No commits in common. "658477ed4be591c24c568328f679f7f466fdecb7" and "b87a8e2ab8ddcbacb93ec95a96eda4e543e7ed36" have entirely different histories.

4 changed files with 2 additions and 10 deletions

View file

@ -1066,9 +1066,7 @@ func get_available_font_names() -> PackedStringArray:
if font_name in font_names:
continue
font_names.append(font_name)
var system_fonts := OS.get_system_fonts()
system_fonts.sort()
for system_font_name in system_fonts:
for system_font_name in OS.get_system_fonts():
if system_font_name in font_names:
continue
font_names.append(system_font_name)

View file

@ -269,11 +269,9 @@ func fill_in_selection() -> void:
var selection_map_copy := project.selection_map.return_cropped_copy(project.size)
for image in images:
image.blit_rect_mask(filler, selection_map_copy, rect, rect.position)
image.convert_rgb_to_indexed()
else:
for image in images:
image.fill(tool_slot.color)
image.convert_rgb_to_indexed()
else:
# End early if we are filling with an empty pattern
var pattern_image: Image = _pattern.image

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://bdregpkflev7u"]
[gd_scene load_steps=6 format=3 uid="uid://ct4o5i1jeul3k"]
[ext_resource type="PackedScene" uid="uid://ctfgfelg0sho8" path="res://src/Tools/BaseTool.tscn" id="1_1q6ub"]
[ext_resource type="Script" path="res://src/Tools/UtilityTools/Text.gd" id="2_ql5g6"]
@ -63,8 +63,6 @@ stretch_margin_bottom = 3
script = ExtResource("3_tidsq")
prefix = "Size:"
suffix = "px"
global_increment_action = "brush_size_increment"
global_decrement_action = "brush_size_decrement"
[node name="GridContainer" type="GridContainer" parent="." index="4"]
layout_mode = 2

View file

@ -808,11 +808,9 @@ func delete(selected_cels := true) -> void:
image.blit_rect_mask(
blank, selection_map_copy, big_bounding_rectangle, big_bounding_rectangle.position
)
image.convert_rgb_to_indexed()
else:
for image in images:
image.fill(0)
image.convert_rgb_to_indexed()
commit_undo("Draw", undo_data_tmp)