Skip to content

Commit

Permalink
[sailfishos][embedlite] Cleanup float preferences. JB#62618
Browse files Browse the repository at this point in the history
It seems that "0.1f" value is no longer getting through as a float
like it used to. The all.js of gecko-dev confirms this as there are
no longer f-suffixed floats.

This commit cleans f-suffixed float prefs from embedding.js.

GitHub issue:
sailfishos/sailfish-browser#1038
  • Loading branch information
rainemak committed Oct 3, 2024
1 parent db4df7a commit 31b0200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embedding/embedlite/embedding.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ pref("gfx.vsync.compositor.unobserve-count", 40);

// APZC preferences.
pref("apz.allow_zooming", true);
pref("apz.fling_accel_base_mult", "1.125f");
pref("apz.min_skate_speed", "1.0f");
pref("apz.fling_accel_base_mult", "1.125");
pref("apz.min_skate_speed", "1.0");

// Gaia relies heavily on scroll events for now, so lets fire them
// more often than the default value (100).
Expand Down

0 comments on commit 31b0200

Please sign in to comment.