summaryrefslogtreecommitdiff
path: root/src/screen
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-04-25 15:56:56 -0400
committerAndrew Opalach <andrew@akon.city> 2025-04-25 15:56:56 -0400
commitb1985414e54edf1eebe597551a48609ad08c6cfa (patch)
tree4a4def499348e0c9ccb52472e7c862f814993931 /src/screen
parent76fc9fe33dd58926e552b6bd3b79d798b452c6ed (diff)
downloadcamu-b1985414e54edf1eebe597551a48609ad08c6cfa.tar.gz
camu-b1985414e54edf1eebe597551a48609ad08c6cfa.tar.bz2
camu-b1985414e54edf1eebe597551a48609ad08c6cfa.zip
Partial cmc ui refactor
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/screen')
-rw-r--r--src/screen/screen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen/screen.c b/src/screen/screen.c
index 0e44dcd..f749bcb 100644
--- a/src/screen/screen.c
+++ b/src/screen/screen.c
@@ -188,8 +188,8 @@ static bool key_callback(void *userdata, u8 state, u16 button)
break;
case STELA_KEY_RIGHT:
if (SCREEN_MOD1(scr)) {
- f64 plus_ten_seconds = 10.0;
- scr->callback(scr->userdata, CAMU_SCREEN_RELATIVE_SEEK, &plus_ten_seconds);
+ f64 plus_five_seconds = 5.0;
+ scr->callback(scr->userdata, CAMU_SCREEN_RELATIVE_SEEK, &plus_five_seconds);
break;
}
// fallthrough
@@ -205,8 +205,8 @@ static bool key_callback(void *userdata, u8 state, u16 button)
f64 zero = 0.0;
scr->callback(scr->userdata, CAMU_SCREEN_PERCENT_SEEK, &zero);
} else {
- f64 minus_ten_seconds = -10.0;
- scr->callback(scr->userdata, CAMU_SCREEN_RELATIVE_SEEK, &minus_ten_seconds);
+ f64 minus_five_seconds = -5.0;
+ scr->callback(scr->userdata, CAMU_SCREEN_RELATIVE_SEEK, &minus_five_seconds);
}
break;
}