Solving issue 1241 on behalf of skraft61: "CropHandler::update is called too often". It also remove the main preview's scrollbars.
This commit is contained in:
@@ -25,15 +25,10 @@ class ImageArea;
|
||||
class ImageAreaPanel : public Gtk::VBox {
|
||||
|
||||
protected:
|
||||
Gtk::HScrollbar* hscroll;
|
||||
Gtk::VScrollbar* vscroll;
|
||||
sigc::connection hscrollconn;
|
||||
sigc::connection vscrollconn;
|
||||
|
||||
ImageAreaPanel *before, *after;
|
||||
|
||||
void synchronize ();
|
||||
void configScrollBars ();
|
||||
|
||||
ImageAreaPanel *before, *after;
|
||||
|
||||
public:
|
||||
ImageArea* imageArea;
|
||||
@@ -41,13 +36,10 @@ class ImageAreaPanel : public Gtk::VBox {
|
||||
ImageAreaPanel ();
|
||||
~ImageAreaPanel ();
|
||||
|
||||
void scrollChanged ();
|
||||
void imageAreaResized (Gtk::Allocation& req);
|
||||
|
||||
void refreshScrollBars ();
|
||||
void zoomChanged ();
|
||||
|
||||
void setBeforeAfterViews (ImageAreaPanel* bef, ImageAreaPanel* aft);
|
||||
void syncBeforeAfterViews();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user