Skip to content

Commit

Permalink
Merge pull request #6171 from ericmehl/FPSGadgetLayer
Browse files Browse the repository at this point in the history
FPS Gadget to Front Layer
  • Loading branch information
johnhaddon authored Dec 9, 2024
2 parents a6f4459 + ed82731 commit 092681f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GafferUI/FPSGadget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ FPSGadget::~FPSGadget()

void FPSGadget::renderLayer( Gadget::Layer layer, const Style *style, Gadget::RenderReason reason ) const
{
if( layer != Layer::Main )
if( layer != Layer::Front )
{
return;
}
Expand Down Expand Up @@ -109,7 +109,7 @@ void FPSGadget::renderLayer( Gadget::Layer layer, const Style *style, Gadget::Re

unsigned FPSGadget::layerMask() const
{
return (unsigned)Layer::Main;
return (unsigned)Layer::Front;
}


Expand Down

0 comments on commit 092681f

Please sign in to comment.