Add the possibility to assign a keyboard shortcut to color quantization (#999)

This commit is contained in:
David Capello 2016-03-04 15:41:32 -03:00
parent ac67cb9e49
commit 962928a609
2 changed files with 5 additions and 2 deletions

View File

@ -389,6 +389,9 @@
<key command="SetColorSelector"> <key command="SetColorSelector">
<param name="type" value="ryb-wheel" /> <param name="type" value="ryb-wheel" />
</key> </key>
<key command="LoadPalette" />
<key command="SavePalette" />
<key command="ColorQuantization" />
</commands> </commands>
<!-- Keyboard shortcuts to select tools --> <!-- Keyboard shortcuts to select tools -->

View File

@ -1,5 +1,5 @@
// Aseprite // Aseprite
// Copyright (C) 2001-2015 David Capello // Copyright (C) 2001-2016 David Capello
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -75,7 +75,7 @@ private:
ColorQuantizationCommand::ColorQuantizationCommand() ColorQuantizationCommand::ColorQuantizationCommand()
: Command("ColorQuantization", : Command("ColorQuantization",
"Color Quantization", "Create Palette from Current Sprite (Color Quantization)",
CmdRecordableFlag) CmdRecordableFlag)
{ {
} }