mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
remove incorrect fix
This commit is contained in:
parent
f036979dc0
commit
521ebf43ab
2 changed files with 0 additions and 14 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue