mirror of
https://codeberg.org/vyivel/dulcepan/
synced 2025-12-16 07:05:13 +02:00
select: redraw on interaction start
This fixes a mismatch between the actual selection and its visual representation when the right mouse button is clicked but not moved (easier to reproduce with animations disabled).
This commit is contained in:
@@ -187,6 +187,8 @@ void dp_select_start_interactive(struct dp_selection *selection, struct dp_outpu
|
|||||||
selection->resize_edges = DP_EDGE_BOTTOM | DP_EDGE_RIGHT;
|
selection->resize_edges = DP_EDGE_BOTTOM | DP_EDGE_RIGHT;
|
||||||
|
|
||||||
init_resize(selection, x, y);
|
init_resize(selection, x, y);
|
||||||
|
|
||||||
|
dp_output_redraw(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
void dp_select_stop_interactive(struct dp_selection *selection) {
|
void dp_select_stop_interactive(struct dp_selection *selection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user