Skip to content

Commit 8328ee6

Browse files
authored
Increase the mouse scroll speed (flutter-tizen#73)
* Increase mouse wheel scroll speed * Suppress error message on app launch
1 parent 52704ae commit 8328ee6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

shell/platform/tizen/flutter_tizen.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,25 +215,25 @@ void FlutterRegisterViewFactory(
215215

216216
FlutterDesktopTextureRegistrarRef FlutterDesktopRegistrarGetTextureRegistrar(
217217
FlutterDesktopPluginRegistrarRef registrar) {
218-
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
218+
FT_UNIMPLEMENTED();
219219
return nullptr;
220220
}
221221

222222
int64_t FlutterDesktopTextureRegistrarRegisterExternalTexture(
223223
FlutterDesktopTextureRegistrarRef texture_registrar,
224224
const FlutterDesktopTextureInfo* texture_info) {
225-
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
225+
FT_UNIMPLEMENTED();
226226
return -1;
227227
}
228228

229229
bool FlutterDesktopTextureRegistrarUnregisterExternalTexture(
230230
FlutterDesktopTextureRegistrarRef texture_registrar, int64_t texture_id) {
231-
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
231+
FT_UNIMPLEMENTED();
232232
return false;
233233
}
234234

235235
bool FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable(
236236
FlutterDesktopTextureRegistrarRef texture_registrar, int64_t texture_id) {
237-
FT_LOGE("Tizen DesktopTexture support is not implemented yet.");
237+
FT_UNIMPLEMENTED();
238238
return false;
239239
}

shell/platform/tizen/touch_event_handler.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ void TouchEventHandler::SendFlutterPointerEvent(FlutterPointerPhase phase,
6363
if (scroll_delta_x != 0 || scroll_delta_y != 0) {
6464
event.signal_kind = kFlutterPointerSignalKindScroll;
6565
}
66-
event.scroll_delta_x = scroll_delta_x;
67-
event.scroll_delta_y = scroll_delta_y;
66+
event.scroll_delta_x = scroll_delta_x * 2;
67+
event.scroll_delta_y = scroll_delta_y * 2;
6868
event.timestamp = timestamp * 1000;
6969
FlutterEngineSendPointerEvent(engine_->flutter_engine, &event, 1);
7070
}

0 commit comments

Comments
 (0)