mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-02 00:36:20 +08:00
opt paint text selection rect
add patch desc Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -6,6 +6,7 @@ param(
|
||||
# https://github.com/flutter/flutter/issues/182281
|
||||
$NewOverScrollIndicator = "362b1de29974ffc1ed6faa826e1df870d7bec75f";
|
||||
|
||||
# set `gestureSettings`
|
||||
$BottomSheetAndroidPatch = "lib/scripts/bottom_sheet_android.patch"
|
||||
|
||||
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/1906
|
||||
@@ -17,9 +18,11 @@ $BottomSheetIOSPiliPlusPatch = "lib/scripts/bottom_sheet_ios_piliplus.patch"
|
||||
$TextSelectionMenuFix = "beb2ad17004a1b118ff2bd09f55cee23198f6652";
|
||||
|
||||
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/1662
|
||||
# handle bottom scroll event
|
||||
$ScrollViewPatch = "lib/scripts/scroll_view.patch"
|
||||
|
||||
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/2106
|
||||
# use `TouchGestureRecognizer` on all platforms
|
||||
$TextSelectionPatch = "lib/scripts/text_selection.patch"
|
||||
|
||||
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/1947
|
||||
@@ -28,28 +31,46 @@ $NavigatorPatch = "lib/scripts/navigator.patch"
|
||||
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/2107
|
||||
$ImageAnimPatch = "lib/scripts/image_anim.patch"
|
||||
|
||||
# remove `_scheduleRebuild`
|
||||
$LayoutBuilderPatch = "lib/scripts/layout_builder.patch"
|
||||
|
||||
# https://github.com/bggRGjQaUbCoE/PiliPlus/issues/2308
|
||||
$NavigationDrawerPatch = "lib/scripts/navigation_drawer.patch"
|
||||
|
||||
# apply text color to icon color
|
||||
$PopupMenuPatch = "lib/scripts/popup_menu.patch"
|
||||
|
||||
# remove `Hero` effect
|
||||
$FABPatch = "lib/scripts/fab.patch"
|
||||
|
||||
$SelectableRegionSelectionPatch = "lib/scripts/selectable_region.patch"
|
||||
# https://github.com/flutter/flutter/issues/139890
|
||||
# https://github.com/flutter/flutter/issues/174689
|
||||
# separator support
|
||||
# clamp handle offset
|
||||
# widgetspan selection support
|
||||
# clear selection when tapping outside
|
||||
# free selection if there is only one text
|
||||
# clamp dragging selection behavior on Android
|
||||
# show selection menu if secondary tap position is in text region on desktop
|
||||
$SelectableRegionPatch = "lib/scripts/selectable_region.patch"
|
||||
|
||||
# https://github.com/flutter/flutter/issues/132047
|
||||
# https://github.com/flutter/flutter/issues/174689
|
||||
$EditableTextPatch = "lib/scripts/editable_text.patch"
|
||||
|
||||
# set `selectAllOnFocus` to `false` by default
|
||||
$TextFieldPatch = "lib/scripts/text_field.patch"
|
||||
|
||||
# notify `userScrollDirection` only if position is actually changing
|
||||
$ScrollPositionPatch = "lib/scripts/scroll_position.patch"
|
||||
|
||||
# expose `_shouldIgnorePointer`
|
||||
$ScrollablePatch = "lib/scripts/scrollable.patch"
|
||||
|
||||
# TODO: remove
|
||||
# https://github.com/flutter/flutter/issues/124078
|
||||
# https://github.com/flutter/flutter/pull/183261
|
||||
$SelectableRegionPatch = "lib/scripts/null_safety_for_selectable_region.patch"
|
||||
$NullSafetySelectableRegionPatch = "lib/scripts/null_safety_for_selectable_region.patch"
|
||||
|
||||
# TODO: remove
|
||||
# https://github.com/flutter/flutter/issues/90223
|
||||
@@ -78,9 +99,9 @@ $picks = @($TextSelectionMenuFix)
|
||||
$reverts = @()
|
||||
$patches = @($ModalBarrierPatch, $TextSelectionPatch, $MouseCursorPatch,
|
||||
$ImageAnimPatch, $LayoutBuilderPatch, $NavigationDrawerPatch,
|
||||
$PopupMenuPatch, $FABPatch, $SelectableRegionPatch, $SelectableRegionSelectionPatch,
|
||||
$EditableTextPatch, $TextFieldPatch, $ScrollPositionPatch,
|
||||
$ScrollablePatch)
|
||||
$PopupMenuPatch, $FABPatch, $NullSafetySelectableRegionPatch,
|
||||
$SelectableRegionPatch, $EditableTextPatch, $TextFieldPatch,
|
||||
$ScrollPositionPatch, $ScrollablePatch)
|
||||
|
||||
switch ($platform.ToLower()) {
|
||||
"android" {
|
||||
|
||||
Reference in New Issue
Block a user