Skip to content

Commit 6bad134

Browse files
committed
Make it so you can't hold down space to get out of a break.
1 parent c5cef37 commit 6bad134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn setup(state: &State) {
109109

110110
fn connect_events(config: &Config, state: &State) {
111111
for window in state.get_app_wins() {
112-
window.connect_key_press_event(
112+
window.connect_key_release_event(
113113
clone!(@strong state => move |_, event_key| {
114114
if event_key.get_keyval() == gdk::enums::key::space {
115115
decrement_presses_remaining(&state);

0 commit comments

Comments
 (0)