fix: owerwrite handleScroll to remove any scrolling handling from group module
This commit is contained in:
@ -30,6 +30,7 @@ class Group : public AModule {
|
|||||||
bool handleMouseEnter(GdkEventCrossing* const& ev) override;
|
bool handleMouseEnter(GdkEventCrossing* const& ev) override;
|
||||||
bool handleMouseLeave(GdkEventCrossing* const& ev) override;
|
bool handleMouseLeave(GdkEventCrossing* const& ev) override;
|
||||||
bool handleToggle(GdkEventButton* const& ev) override;
|
bool handleToggle(GdkEventButton* const& ev) override;
|
||||||
|
bool handleScroll(GdkEventScroll* e) override;
|
||||||
void show_group();
|
void show_group();
|
||||||
void hide_group();
|
void hide_group();
|
||||||
};
|
};
|
||||||
|
|||||||
@ -124,6 +124,11 @@ auto Group::update() -> void {
|
|||||||
// noop
|
// noop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Group::handleScroll(GdkEventScroll* e) {
|
||||||
|
// no scroll.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Gtk::Box& Group::getBox() { return is_drawer ? (is_first_widget ? box : revealer_box) : box; }
|
Gtk::Box& Group::getBox() { return is_drawer ? (is_first_widget ? box : revealer_box) : box; }
|
||||||
|
|
||||||
void Group::addWidget(Gtk::Widget& widget) {
|
void Group::addWidget(Gtk::Widget& widget) {
|
||||||
|
|||||||
Reference in New Issue
Block a user