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
e9135808
Commit
e9135808
authored
Aug 06, 2015
by
Eric Seidel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the build after the mojo roll
@abarth
parent
a7b96564
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
input.dart
packages/flutter/lib/editing/input.dart
+1
-1
keyboard.dart
packages/flutter/lib/mojo/keyboard.dart
+5
-4
pubspec.yaml
packages/flutter/pubspec.yaml
+2
-2
No files found.
packages/flutter/lib/editing/input.dart
View file @
e9135808
...
...
@@ -59,7 +59,7 @@ class Input extends StatefulComponent {
bool
focused
=
Focus
.
at
(
this
);
if
(
focused
&&
!
_keyboardHandle
.
attached
)
{
_keyboardHandle
=
keyboard
.
show
(
_editableValue
.
stub
);
_keyboardHandle
=
keyboard
.
show
(
_editableValue
.
stub
,
KeyboardType_TEXT
);
}
else
if
(!
focused
&&
_keyboardHandle
.
attached
)
{
_keyboardHandle
.
release
();
}
...
...
packages/flutter/lib/mojo/keyboard.dart
View file @
e9135808
...
...
@@ -4,6 +4,7 @@
import
'package:mojo_services/keyboard/keyboard.mojom.dart'
;
import
'package:sky/mojo/shell.dart'
as
shell
;
export
'package:mojo_services/keyboard/keyboard.mojom.dart'
;
class
_KeyboardConnection
{
...
...
@@ -29,14 +30,14 @@ class Keyboard {
KeyboardHandle
_currentHandle
;
KeyboardHandle
show
(
KeyboardClientStub
stub
)
{
KeyboardHandle
show
(
KeyboardClientStub
stub
,
int
keyboardType
)
{
assert
(
stub
!=
null
);
if
(
_currentHandle
!=
null
)
{
if
(
_currentHandle
.
stub
==
stub
)
return
_currentHandle
;
_currentHandle
.
release
();
}
_currentHandle
=
new
KeyboardHandle
.
_show
(
this
,
stub
);
_currentHandle
=
new
KeyboardHandle
.
_show
(
this
,
stub
,
keyboardType
);
return
_currentHandle
;
}
...
...
@@ -44,8 +45,8 @@ class Keyboard {
class
KeyboardHandle
{
KeyboardHandle
.
_show
(
Keyboard
keyboard
,
this
.
stub
)
:
_keyboard
=
keyboard
{
_keyboard
.
service
.
show
(
stub
);
KeyboardHandle
.
_show
(
Keyboard
keyboard
,
this
.
stub
,
int
keyboardType
)
:
_keyboard
=
keyboard
{
_keyboard
.
service
.
show
(
stub
,
keyboardType
);
_attached
=
true
;
}
...
...
packages/flutter/pubspec.yaml
View file @
e9135808
...
...
@@ -6,8 +6,8 @@ homepage: https://github.com/domokit/sky_engine/tree/master/sky/packages/sky
dependencies
:
cassowary
:
^0.1.7
material_design_icons
:
^0.0.2
mojo_services
:
0.0.2
1
mojo
:
0.0.2
1
mojo_services
:
0.0.2
2
mojo
:
0.0.2
2
newton
:
^0.1.2
sky_engine
:
^0.0.6
sky_services
:
^0.0.6
...
...
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