MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Media info in wrong position in horizontal mode

Open ToRRent1812 opened this issue 1 year ago • 1 comments

Describe the bug Hi, I'm trying to put media info into a single line with media_player_format={artist} - {title} so it appears correctly in horizontal view, unfortunately It looks like this on my end. Not to mention, it automatically applies album tag at the beginning. I'm attaching mangohud.conf and screenshot of vkcube.

Screenshot_20230619_235529 MangoHud.conf.zip

List relevant hardware/software information

  • Linux Distribution - Nobara KDE 37
  • MangoHud version - 0.6.9-1
  • GPU - RX 6950 XT

ToRRent1812 avatar Jun 19 '23 22:06 ToRRent1812

Same.

Its because there is a "margin" above the media player. If you're up to build from source, you can just comment out the line that makes the margin. Not 100% sure why this is there, or if this process will break something else with MangoHud. But I'm confident its fine.

In src/overlay.cpp, currently on line 459 find "ImGui::Dummy(ImVec2(0.0f, 20.0f));"

You can comment it with two forward slashes like below.

//ImGui::Dummy(ImVec2(0.0f, 20.0f));

Hypertoken avatar Jul 26 '23 03:07 Hypertoken