mirror of
https://codeberg.org/vyivel/dulcepan/
synced 2025-03-12 18:59:15 +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:
parent
d2620c60c5
commit
7cc26b8e38
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user