Skip to content

Commit

Permalink
Merge pull request #118 from tillvit/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
tillvit authored Jul 31, 2024
2 parents ea4a6f3 + 4f05454 commit 0992079
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/src/data/GameplayKeybindData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const GAMEPLAY_KEYBINDS: { [key: string]: GameplayKeybind[] } = {
},
{
label: "UpRight",
keys: ["R"],
keys: ["E"],
},
{
label: "DownRight",
Expand All @@ -244,7 +244,7 @@ export const GAMEPLAY_KEYBINDS: { [key: string]: GameplayKeybind[] } = {
},
{
label: "P1 UpRight",
keys: ["R"],
keys: ["E"],
},
{
label: "P1 DownRight",
Expand Down Expand Up @@ -286,7 +286,7 @@ export const GAMEPLAY_KEYBINDS: { [key: string]: GameplayKeybind[] } = {
},
{
label: "P1 UpRight",
keys: ["R"],
keys: ["E"],
},
{
label: "P1 DownRight",
Expand Down Expand Up @@ -328,7 +328,7 @@ export const GAMEPLAY_KEYBINDS: { [key: string]: GameplayKeybind[] } = {
},
{
label: "P1 UpRight",
keys: ["R"],
keys: ["E"],
},
{
label: "P1 DownRight",
Expand Down Expand Up @@ -362,7 +362,7 @@ export const GAMEPLAY_KEYBINDS: { [key: string]: GameplayKeybind[] } = {
},
{
label: "P1 UpRight",
keys: ["R"],
keys: ["E"],
},
{
label: "P1 DownRight",
Expand Down
5 changes: 4 additions & 1 deletion app/src/gui/window/NoteskinWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ export class NoteskinWindow extends Window {
if (id == Options.chart.noteskin.name) {
container.classList.add("selected")
setTimeout(() => {
container.scrollIntoView({ behavior: "smooth", block: "center" })
container.scrollIntoView({
behavior: Options.general.smoothAnimations ? "smooth" : "instant",
block: "center",
})
})
}

Expand Down

0 comments on commit 0992079

Please sign in to comment.