Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
0d1358d7
Unverified
Commit
0d1358d7
authored
Jun 09, 2021
by
Tong Mu
Committed by
GitHub
Jun 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Impl (#84171)
parent
549d23e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
diagnostics.dart
packages/flutter/lib/src/foundation/diagnostics.dart
+2
-2
raw_keyboard_test.dart
packages/flutter/test/services/raw_keyboard_test.dart
+1
-1
No files found.
packages/flutter/lib/src/foundation/diagnostics.dart
View file @
0d1358d7
...
...
@@ -850,7 +850,7 @@ class _PrefixedStringBuilder {
_wrappableRanges
,
wrapWidth
!,
startOffset:
firstLine
?
prefixLineOne
.
length
:
_prefixOtherLines
!.
length
,
otherLineOffset:
firstLine
?
_prefixOtherLines
!.
length
:
_prefixOtherLines
!.
length
,
otherLineOffset:
_prefixOtherLines
!.
length
,
);
int
i
=
0
;
final
int
length
=
lines
.
length
;
...
...
@@ -1009,7 +1009,7 @@ class _PrefixedStringBuilder {
}
String
?
_getCurrentPrefix
(
bool
firstLine
)
{
return
_buffer
.
isEmpty
?
prefixLineOne
:
(
firstLine
?
_prefixOtherLines
:
_prefixOtherLines
)
;
return
_buffer
.
isEmpty
?
prefixLineOne
:
_prefixOtherLines
;
}
/// Write lines assuming the lines obey the specified prefixes. Ensures that
...
...
packages/flutter/test/services/raw_keyboard_test.dart
View file @
0d1358d7
...
...
@@ -1777,7 +1777,7 @@ void main() {
int
keyCodeForModifier
(
int
modifier
,
{
required
bool
isLeft
})
{
switch
(
modifier
)
{
case
GtkKeyHelper
.
modifierMod1
:
return
isLeft
?
65513
:
65513
;
return
65513
;
case
GtkKeyHelper
.
modifierShift
:
return
isLeft
?
65505
:
65506
;
case
GtkKeyHelper
.
modifierControl
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment