mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
slider.cpp: Remove commented code
This commit is contained in:
parent
7eb41c73e9
commit
bb32f1fbf2
@ -90,7 +90,7 @@ bool Slider::onProcessMessage(Message* msg)
|
||||
|
||||
setupSliderCursor();
|
||||
|
||||
// Continue to kMouseMoveMessage...
|
||||
// Fall through
|
||||
|
||||
case kMouseMoveMessage:
|
||||
if (hasCapture()) {
|
||||
@ -158,17 +158,6 @@ bool Slider::onProcessMessage(Message* msg)
|
||||
|
||||
case kMouseEnterMessage:
|
||||
case kMouseLeaveMessage:
|
||||
/* if (jwidget_is_enabled(widget) && */
|
||||
/* jwidget_has_capture(widget)) { */
|
||||
/* /\* swap the select status *\/ */
|
||||
/* if (jwidget_is_selected(widget)) */
|
||||
/* jwidget_deselect(widget); */
|
||||
/* else */
|
||||
/* jwidget_select(widget); */
|
||||
|
||||
/* /\* TODO switch slider signal *\/ */
|
||||
/* } */
|
||||
|
||||
// TODO theme stuff
|
||||
if (isEnabled())
|
||||
invalidate();
|
||||
|
Loading…
Reference in New Issue
Block a user