Skip to content

Commit

Permalink
Undo slight breaking change with notefield zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Feb 23, 2019
1 parent bb1e1df commit 804f543
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,7 @@ ScreenGameplay::Init()
right_marge = margins[1];
field_space = screen_space - left_marge - right_marge;
float player_x = edge + left_marge + (field_space / 2.0f);
float field_zoom = field_space / style_width;
pi->GetPlayerState()->m_NotefieldZoom = min(1.0f, field_zoom);
pi->GetPlayerState()->m_NotefieldZoom = 1.f;

if (!Center1Player())
pi->m_pPlayer->SetX(player_x);
Expand Down

0 comments on commit 804f543

Please sign in to comment.