For those who'd like to use their mouse scroll wheel to scroll the tool panel, there's a new option in Preference to disable the vertical scrollbar (see issue 735). The side effect of that is better stability of the curve editor's size.

This commit is contained in:
Hombre
2011-09-08 21:50:29 +02:00
parent 2617c6bccf
commit e56f3958e1
16 changed files with 114 additions and 21 deletions

View File

@@ -21,7 +21,6 @@
#include <preferences.h>
#include <cursormanager.h>
RTWindow::RTWindow ()
:fpanel(NULL)
,epanel(NULL)
@@ -467,3 +466,12 @@ void RTWindow::MoveFileBrowserToEditor()
}
}
void RTWindow::updateTPVScrollbar (bool hide) {
fpanel->updateTPVScrollbar (hide);
epanel->updateTPVScrollbar (hide);
std::map<Glib::ustring, EditorPanel*>::const_iterator itr;
for(itr = epanels.begin(); itr != epanels.end(); ++itr){
((*itr).second)->updateTPVScrollbar (hide);
}
}