Skip to content

Commit c682b20

Browse files
committed
Change screenshot bind to F12 and fix scroll wheel scrolling during gameplay
closes #134
1 parent 4ebc3be commit c682b20

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.gitignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
bin/songs/*
1212
maps.db
1313
bin/Main.cfg
14+
bin/screenshots
15+
bin/log*
1416

1517
# Intermediate Files
1618
x64
@@ -48,6 +50,3 @@ Makefile
4850

4951
# Document build files
5052
docs/build
51-
52-
# Game screenshot folder
53-
bin/screenshots

Main/ScoreScreen.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class ScoreScreen_Impl : public ScoreScreen
251251
{
252252
g_application->RemoveTickable(this);
253253
}
254-
if (key == SDLK_PRINTSCREEN)
254+
if (key == SDLK_F12)
255255
{
256256
auto luaPopInt = [this]
257257
{

Main/SongSelect.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,9 @@ class SongSelect_Impl : public SongSelect
12341234
}
12351235
void m_OnMouseScroll(int32 steps)
12361236
{
1237+
if (m_suspended)
1238+
return;
1239+
12371240
if (m_settingsWheel->Active)
12381241
{
12391242
m_settingsWheel->AdvanceSelection(steps);

0 commit comments

Comments
 (0)