mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Merge pull request #65 from DavidWyand-GG/issue64-GuiTabBookCtrlRendering
Fix for Issue #64 for GuiTabBookCtrl rendering
This commit is contained in:
commit
811f27fe65
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue