Add some padding on the right text of sum of best text.
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 51s
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 51s
This commit is contained in:
parent
3c6630e3c3
commit
d76f2da638
@ -122,7 +122,7 @@ void Timer::Draw(vf2d drawPos){
|
||||
if(!differentialTotal.empty())differentialAmt=differentialTotal.top();
|
||||
const std::string sumOfBestText{sumOfBest?util::timerStr(*sumOfBest+differentialAmt+differentialTime):"-"};
|
||||
vf2d sumOfBestTextSize{engine.GetTextSizeProp(sumOfBestText)};
|
||||
engine.DrawStringPropDecal(sumOfBestPane.pos+vf2d{sumOfBestPane.size.x-sumOfBestTextSize.x+1.f,1.f},sumOfBestText,WHITE);
|
||||
engine.DrawStringPropDecal(sumOfBestPane.pos+vf2d{sumOfBestPane.size.x-sumOfBestTextSize.x-1.f,1.f},sumOfBestText,WHITE);
|
||||
engine.DrawRectDecal(timerPane.pos,timerPane.size,GREY);
|
||||
engine.DrawRectDecal(sumOfBestPane.pos,sumOfBestPane.size,GREY);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user