Fix diplay bux in the attribute-panel of the GUIEditor. Fixes bug 3517314 (thx @Darkcoder for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4253 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
d439c11f54
commit
2de64d5e6c
|
@ -1,6 +1,8 @@
|
|||
Changes in 1.8 (??.??.2011)
|
||||
|
||||
- Allow caching cursor position on X11 to work around slow XQueryPointer calls.
|
||||
- Fix diplay bux in the attribute-panel of the GUIEditor. Fixes bug 3517314 (thx @Darkcoder for reporting).
|
||||
|
||||
- Allow caching cursor position on X11 to work around slow XQueryPointer calls (thx @Hendu for reporting+patch proposal)
|
||||
|
||||
- Struct packing works now with gcc 4.7 changes on MinGW (thx @Sudi for reporting).
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ bool CGUIPanel::OnEvent(const SEvent &event)
|
|||
void CGUIPanel::moveInnerPane()
|
||||
{
|
||||
core::dimension2d<s32> dim = InnerPane->getAbsolutePosition().getSize();
|
||||
core::position2d<s32> newpos(-HScrollBar->getPos(), -VScrollBar->getPos());
|
||||
core::position2d<s32> newpos(HScrollBar->isVisible() ? -HScrollBar->getPos() : 0 , VScrollBar->isVisible() ? -VScrollBar->getPos() : 0);
|
||||
core::rect<s32> r(newpos, newpos + dim);
|
||||
InnerPane->setRelativePosition(r);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue