mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
Fixed up about screen.
Inter-line spacing didn't scale with font size. Oops!
This commit is contained in:
parent
0f4f1a1cf5
commit
bf9f37e8d9
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ void FurnaceGUI::drawAbout() {
|
|||
|
||||
for (size_t i=0; i<aboutCount; i++) {
|
||||
double posX=(canvasW/2.0)+(sin(double(i)*0.5+double(aboutScroll)/(90.0*dpiScale))*120*dpiScale)-(ImGui::CalcTextSize(aboutLine[i]).x*0.5);
|
||||
double posY=(canvasH-aboutScroll+42*i*dpiScale);
|
||||
double posY=(canvasH-aboutScroll+settings.bigFontSize*7/6*i*dpiScale);
|
||||
if (posY<-80*dpiScale || posY>canvasH) continue;
|
||||
dl->AddText(bigFont,bigFont->FontSize,
|
||||
ImVec2(posX+dpiScale,posY+dpiScale),
|
||||
|
|
Loading…
Reference in a new issue