mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
@@ -2473,7 +2473,7 @@ class RenderEditable extends RenderBox
|
||||
switch (defaultTargetPlatform) {
|
||||
case TargetPlatform.iOS:
|
||||
case TargetPlatform.macOS:
|
||||
_caretPrototype = Rect.fromLTWH(
|
||||
_caretPrototype = Rect.fromLTRB(
|
||||
0.0,
|
||||
0.0,
|
||||
cursorWidth,
|
||||
@@ -3169,7 +3169,7 @@ class _TextHighlightPainter extends RenderEditablePainter {
|
||||
.toRect()
|
||||
.shift(renderEditable._paintOffset)
|
||||
.intersect(
|
||||
Rect.fromLTWH(0, 0, textPainter.width, textPainter.height),
|
||||
Rect.fromLTRB(0, 0, textPainter.width, textPainter.height),
|
||||
),
|
||||
highlightPaint,
|
||||
);
|
||||
|
||||
@@ -6399,7 +6399,7 @@ class _ScribbleFocusableState extends State<_ScribbleFocusable>
|
||||
final Matrix4 transform = box.getTransformTo(null);
|
||||
return MatrixUtils.transformRect(
|
||||
transform,
|
||||
Rect.fromLTWH(0, 0, box.size.width, box.size.height),
|
||||
Rect.fromLTRB(0, 0, box.size.width, box.size.height),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -3573,7 +3573,7 @@ class _SelectionHandleOverlayState extends State<_SelectionHandleOverlay>
|
||||
final Size handleSize = widget.selectionControls.getHandleSize(
|
||||
preferredLineHeight,
|
||||
);
|
||||
return Rect.fromLTWH(0.0, 0.0, handleSize.width, handleSize.height);
|
||||
return Rect.fromLTRB(0.0, 0.0, handleSize.width, handleSize.height);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user