mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 00:23:47 +00:00
Make glow bigger.
This commit is contained in:
@@ -3129,8 +3129,8 @@ void SourceView::RenderLine( const Tokenizer::Line& line, int lineNum, const Add
|
||||
const auto ds = scale * 3;
|
||||
if( glow )
|
||||
{
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( ds * 0.5f, 1 ), dpos + ImVec2( ds * 1.5f, ty-2 ), glow, 0, 0, glow );
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( -ds * 1.5f, 1 ), dpos + ImVec2( -ds * 0.5f, ty-2 ), 0, glow, glow, 0 );
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( ds * 0.5f, 1 ), dpos + ImVec2( ds * 2.5f, ty-2 ), glow, 0, 0, glow );
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( -ds * 2.5f, 1 ), dpos + ImVec2( -ds * 0.5f, ty-2 ), 0, glow, glow, 0 );
|
||||
}
|
||||
DrawLine( draw, dpos + ImVec2( 0, 1 ), dpos + ImVec2( 0, ty-2 ), col, ds );
|
||||
}
|
||||
@@ -3483,8 +3483,8 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
|
||||
const auto ds = scale * 3;
|
||||
if( glow )
|
||||
{
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( ds * 0.5f, 1 ), dpos + ImVec2( ds * 1.5f, ty-2 ), glow, 0, 0, glow );
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( -ds * 1.5f, 1 ), dpos + ImVec2( -ds * 0.5f, ty-2 ), 0, glow, glow, 0 );
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( ds * 0.5f, 1 ), dpos + ImVec2( ds * 2.5f, ty-2 ), glow, 0, 0, glow );
|
||||
draw->AddRectFilledMultiColor( dpos + ImVec2( -ds * 2.5f, 1 ), dpos + ImVec2( -ds * 0.5f, ty-2 ), 0, glow, glow, 0 );
|
||||
}
|
||||
DrawLine( draw, dpos + ImVec2( 0, 1 ), dpos + ImVec2( 0, ty-2 ), col, ds );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user