mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix for Issue #64 for GuiTabBookCtrl rendering
This commit is contained in:
parent
59e7229088
commit
b211edb5e2
|
|
@ -496,7 +496,9 @@ void GuiTabBookCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
|
||||
// Clip to tab area
|
||||
RectI savedClipRect = GFX->getClipRect();
|
||||
GFX->setClipRect( tabRect );
|
||||
RectI clippedTabRect = tabRect;
|
||||
clippedTabRect.intersect( savedClipRect );
|
||||
GFX->setClipRect( clippedTabRect );
|
||||
|
||||
// Render our tabs
|
||||
renderTabs( offset, tabRect );
|
||||
|
|
|
|||
Loading…
Reference in a new issue