projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
cpanel.C
diff --git
a/cinelerra-5.1/cinelerra/cpanel.C
b/cinelerra-5.1/cinelerra/cpanel.C
index fa440711d9ee41effe6f4a8f57a12110b8c4bf41..5f8dd4d7c048ba179266cc81b2f30bc950219284 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cpanel.C
+++ b/
cinelerra-5.1/cinelerra/cpanel.C
@@
-132,6
+132,7
@@
void CPanel::set_operation(int value)
operation[CWINDOW_CAMERA]->get_value() ||
operation[CWINDOW_PROJECTOR]->get_value() ) {
cpanel_zoom->set_shown(1);
operation[CWINDOW_CAMERA]->get_value() ||
operation[CWINDOW_PROJECTOR]->get_value() ) {
cpanel_zoom->set_shown(1);
+ subwindow->update_canvas(0);
}
else
cpanel_zoom->set_shown(0);
}
else
cpanel_zoom->set_shown(0);
@@
-387,7
+388,8
@@
int CPanelZoom::handle_event()
double zoom = pow(10.,value);
switch( mwindow->edl->session->cwindow_operation ) {
case CWINDOW_ZOOM:
double zoom = pow(10.,value);
switch( mwindow->edl->session->cwindow_operation ) {
case CWINDOW_ZOOM:
- gui->subwindow->zoom_canvas(zoom, 1);
+ gui->subwindow->canvas->set_zoom(mwindow->edl, zoom);
+ gui->subwindow->update_canvas();
break;
case CWINDOW_CAMERA:
aidx = AUTOMATION_CAMERA_Z;
break;
case CWINDOW_CAMERA:
aidx = AUTOMATION_CAMERA_Z;