Fixed compilaiton in window and widget code

This commit is contained in:
Sergii Pylypenko
2019-04-24 20:13:08 +03:00
committed by pelya
parent 108d3365ff
commit aa4b5de6e1
2 changed files with 2 additions and 3 deletions

View File

@@ -131,7 +131,6 @@ static void ScrollbarClickPositioning(Window *w, NWidgetScrollbar *sb, int x, in
if (_scrollbar_size > button_size * 2)
_scrollbar_size -= button_size;
w->mouse_capture_widget = sb->index;
w->scrolling_scrollbar = sb->index;
_cursorpos_drag_start = _cursor.pos;
}
}