Prevent slider adorn moving when slider disabled
Fix suggested be Error Flynn in http://nanapro.org/en-us/forum/index.php?u=/topic/1059/ggslider-appearance-when-disabled#post-2498
This commit is contained in:
parent
b88fa40651
commit
e7bc1405ec
@ -758,6 +758,10 @@ namespace nana
|
||||
|
||||
void trigger::mouse_move(graph_reference graph, const arg_mouse& arg)
|
||||
{
|
||||
// check if slider is disabled
|
||||
if(!API::get_widget(arg.window_handle)->enabled())
|
||||
return; // do nothing
|
||||
|
||||
bool updated = false;
|
||||
if (model_ptr_->if_trace_slider())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user