Skip to content

Commit

Permalink
sort colors fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cwkx committed Nov 10, 2016
1 parent 65eab51 commit 53a4de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/painter/painter plugin.gd
Expand Up @@ -129,7 +129,7 @@ func hotkey_to_colorpicker(i):
return str(i-1)

func palette_sort_colors(c1,c2):
return c1.v < c2.v
return c1.v > c2.v

func palette_from_image():
var sprite = get_selected_sprite()
Expand Down Expand Up @@ -269,4 +269,4 @@ func on_resize_confirmed():
# get_undo_redo().clear_history()

print("resize confirmed: " + selected + " , " + str(os) + ", " + str(ns))


0 comments on commit 53a4de7

Please sign in to comment.