mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
Removed unused local variable "imgtype".
This commit is contained in:
parent
2c49990420
commit
210c127477
@ -266,7 +266,6 @@ void PaletteEditorCommand::execute(Context* context)
|
|||||||
|
|
||||||
// Show the specified target color
|
// Show the specified target color
|
||||||
{
|
{
|
||||||
int imgtype = app_get_current_image_type();
|
|
||||||
color_t color =
|
color_t color =
|
||||||
(m_background ? context->getSettings()->getBgColor():
|
(m_background ? context->getSettings()->getBgColor():
|
||||||
context->getSettings()->getFgColor());
|
context->getSettings()->getFgColor());
|
||||||
@ -611,7 +610,6 @@ static void update_sliders_from_color(color_t color)
|
|||||||
|
|
||||||
static bool palette_editor_change_hook(JWidget widget, void *data)
|
static bool palette_editor_change_hook(JWidget widget, void *data)
|
||||||
{
|
{
|
||||||
int imgtype = app_get_current_image_type();
|
|
||||||
color_t color = color_index(palette_editor->get2ndColor());
|
color_t color = color_index(palette_editor->get2ndColor());
|
||||||
|
|
||||||
// colorviewer_set_color(colorviewer, color);
|
// colorviewer_set_color(colorviewer, color);
|
||||||
@ -705,7 +703,6 @@ static void on_color_changed(color_t color)
|
|||||||
if (disable_colorbar_signals)
|
if (disable_colorbar_signals)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int imgtype = app_get_current_image_type();
|
|
||||||
int index = color_get_index(color);
|
int index = color_get_index(color);
|
||||||
palette_editor->selectColor(index);
|
palette_editor->selectColor(index);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user