projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fred (fwd render enb displ) play pref. info text tweak
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
cwindowgui.C
diff --git
a/cinelerra-5.1/cinelerra/cwindowgui.C
b/cinelerra-5.1/cinelerra/cwindowgui.C
index c3bf4b61b88ddf0a7b491edf3fc4556344853d9f..24a515fa83a3f3ec6009ab7211651dab01990545 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cwindowgui.C
+++ b/
cinelerra-5.1/cinelerra/cwindowgui.C
@@
-386,7
+386,7
@@
void CWindowGUI::zoom_canvas(double value, int update_menu)
x = output_x - cx / zoom;
y = output_y - cy / zoom;
}
- canvas->update_zoom((int)
x, (int)y
, zoom);
+ canvas->update_zoom((int)
(x+0.5), (int)(y+0.5)
, zoom);
if( update_menu )
zoom_panel->update(value);