Skip to content

Commit a5dc0d8

Browse files
committed
fix: correctly unhover render row
1 parent 63102ba commit a5dc0d8

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
}
7777
]
7878
},
79-
"volume": 0.2,
79+
"volume": 0.0,
8080
"discord": false,
8181
"api_url": "https://oopetris.totto.lt/api/"
8282
}

src/scenes/recording_selector/recording_component.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ ui::Widget::EventHandleResult custom_ui::RecordingComponent::handle_event(
155155
if (const auto render_button_hover_result = render_button->detect_hover(input_manager, event);
156156
render_button_hover_result) {
157157

158+
this->on_unhover();
159+
158160
if (render_button_hover_result.is(ui::ActionType::Clicked)) {
159161

160162
if (not has_focus()) {

test.mp4

2.34 MB
Binary file not shown.

wrapper/c

wrapper/haskell

0 commit comments

Comments
 (0)