mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-30 17:04:56 +01:00
Some style updates
This commit is contained in:
parent
9202774990
commit
5d1628b5b7
1 changed files with 13 additions and 11 deletions
|
@ -512,6 +512,7 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
|
|||
} else {
|
||||
redraw_rect(ZATHURA_PAGE(widget), &priv->selection);
|
||||
zathura_rectangle_t tmp = priv->selection;
|
||||
|
||||
tmp.x1 /= priv->page->document->scale;
|
||||
tmp.x2 /= priv->page->document->scale;
|
||||
tmp.y1 /= priv->page->document->scale;
|
||||
|
@ -523,6 +524,7 @@ cb_zathura_page_widget_button_release_event(GtkWidget* widget, GdkEventButton* b
|
|||
g_free(text);
|
||||
}
|
||||
}
|
||||
|
||||
priv->selection.x1 = -1;
|
||||
priv->selection.y1 = -1;
|
||||
priv->selection.x2 = -1;
|
||||
|
|
Loading…
Reference in a new issue