mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Minor change in cursor.cpp
This commit is contained in:
parent
ceb469339d
commit
be946ceab1
@ -120,7 +120,7 @@ static void on_palette_change_update_cursor_color()
|
||||
|
||||
static void on_brush_before_change()
|
||||
{
|
||||
if (current_editor != NULL) {
|
||||
if (current_editor) {
|
||||
brush_size_thick = current_editor->cursorThick();
|
||||
if (brush_size_thick)
|
||||
current_editor->hideDrawingCursor();
|
||||
@ -129,7 +129,7 @@ static void on_brush_before_change()
|
||||
|
||||
static void on_brush_after_change()
|
||||
{
|
||||
if (current_editor != NULL) {
|
||||
if (current_editor) {
|
||||
// Show drawing cursor
|
||||
if (current_editor->sprite() && brush_size_thick > 0)
|
||||
current_editor->showDrawingCursor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user