remove incorrect fix

This commit is contained in:
MihailRis 2026-10-10 11:36:31 +03:00
parent f036979dc0
commit 521ebf43ab
2 changed files with 0 additions and 14 deletions

View file

@ -82,19 +82,6 @@ void SplitBox::doubleClick(int x, int y) {
refresh();
}
std::shared_ptr<UINode> SplitBox::getAt(const glm::vec2& pos) {
auto hover = Container::getAt(pos);
if (hover.get() != this) {
return hover;
}
for (const auto& node : nodes) {
if (node->isVisible() && node->isInside(pos)) {
return nullptr;
}
}
return hover;
}
void SplitBox::fullRefresh() {
refresh();
reposition();

View file

@ -11,7 +11,6 @@ namespace gui {
virtual void refresh() override;
virtual void fullRefresh() override;
virtual void doubleClick(int x, int y) override;
virtual std::shared_ptr<UINode> getAt(const glm::vec2& pos) override;
private:
float splitPos;
};