Fix scrolling / skipScroll

This commit is contained in:
Florian Wetzel
2025-02-25 14:48:40 +01:00
parent beab503d28
commit 5f889d4d73
3 changed files with 37 additions and 17 deletions
+4 -1
View File
@@ -7,8 +7,11 @@ public:
};
template<bool TScroll>
class StaticScrollBehaviour : public ScrollInterface {
class StaticScrollBehaviour : public virtual ScrollInterface {
public:
bool skipScroll() const override { return TScroll; }
};
using SkipScroll = StaticScrollBehaviour<true>;
} // namespace espgui