diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-26 12:35:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-26 12:35:24 +0200 |
commit | 481ea1234a7d53061350af46e8fffd86fde46dc6 (patch) | |
tree | b72eb350958f219328e428ca3dc1a54f26adc8e5 /src | |
parent | f7e5e4d6671e4c3bd1a0a65cb45ea6c2531d448d (diff) |
sneed
Diffstat (limited to 'src')
-rw-r--r-- | src/Body.cpp | 2 | ||||
-rw-r--r-- | src/plugins/NyaaSi.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index efc47f8..e219e58 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -536,7 +536,7 @@ namespace QuickMedia { if(mouse_left_pressed) { page_scroll += mouse_pos_diff_smooth.y; mouse_scroll_accel = sf::Vector2f(mouse_pos_raw_diff.x, mouse_pos_raw_diff.y); - mouse_scroll_accel *= (float)((double)frame_time * 180.0); + mouse_scroll_accel *= (float)((double)frame_time * 120.0); } else { page_scroll += mouse_scroll_accel.y; } diff --git a/src/plugins/NyaaSi.cpp b/src/plugins/NyaaSi.cpp index 2afedb3..a8cd2b4 100644 --- a/src/plugins/NyaaSi.cpp +++ b/src/plugins/NyaaSi.cpp @@ -256,7 +256,7 @@ namespace QuickMedia { auto body = create_body(); body->items = std::move(result_items); - result_tabs.push_back(Tab{std::move(body), std::make_unique<NyaaSiSearchPage>(program, strip(title), url, std::move(domain)), create_search_bar("Search...", 300)}); + result_tabs.push_back(Tab{std::move(body), std::make_unique<NyaaSiSearchPage>(program, strip(title), url, std::move(domain)), create_search_bar("Search...", 500)}); return PluginResult::OK; } |