Skip to content

Commit

Permalink
Remove unnecessary DPI scaling. Fixes #719
Browse files Browse the repository at this point in the history
  • Loading branch information
lainy committed Oct 4, 2024
1 parent e298120 commit b444dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngscopeclient/WaveformArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ void WaveformArea::RenderDigitalWaveform(shared_ptr<DisplayedChannel> channel, I
auto tex = channel->GetTexture();
if(tex != nullptr)
{
auto ypos = (channel->GetYButtonPos() * ImGui::GetWindowDpiScale()) + start.y;
auto ypos = channel->GetYButtonPos() + start.y;
list->AddImage(
tex->GetTexture(),
ImVec2(start.x, ypos - m_channelButtonHeight),
Expand Down

0 comments on commit b444dfb

Please sign in to comment.