Unstable & with drawing restored

This commit is contained in:
Ilusha 2024-03-17 23:37:15 +03:00 committed by IlyaShurupov
parent 11402f577a
commit 0f4a67e244
15 changed files with 1004 additions and 31 deletions

View file

@ -68,7 +68,7 @@ namespace tp {
mPositionFraction = tp::clamp(mPositionFraction, 0.f, 1.f - mSizeFraction);
}
void draw(Canvas& canvas) const override {
void draw(Canvas& canvas) override {
auto area = getHandle();
if (mSizeFraction > 1.f) return;
@ -162,7 +162,7 @@ namespace tp {
}
}
void draw(Canvas& canvas) const override {
void draw(Canvas& canvas) override {
if (!this->mVisible) return;
mScroller.draw(canvas);