Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6781c68

Browse files
author
Jonah Williams
authored
enable SUPPORT_FRACTIONAL_TRANSLATION everywhere (#34141)
1 parent d7a1a76 commit 6781c68

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

common/config.gni

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ declare_args() {
2323
# Whether to use a prebuilt Dart SDK instead of building one.
2424
flutter_prebuilt_dart_sdk = false
2525

26-
# Whether layers can be drawn at half pixel boundaries.
27-
support_fractional_translation = false
26+
# Whether layers can be drawn at fractional pixel boundaries.
27+
support_fractional_translation = true
2828
}
2929

3030
# feature_defines_list ---------------------------------------------------------
@@ -59,10 +59,6 @@ if (flutter_runtime_mode == "debug") {
5959
feature_defines_list += [ "FLUTTER_RUNTIME_MODE=0" ]
6060
}
6161

62-
if (is_linux || is_mac || is_win) {
63-
support_fractional_translation = true
64-
}
65-
6662
if (support_fractional_translation) {
6763
feature_defines_list += [ "SUPPORT_FRACTIONAL_TRANSLATION=1" ]
6864
}

0 commit comments

Comments
 (0)