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
1aa2751b
Commit
1aa2751b
authored
Nov 07, 2015
by
Ian Hickson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial whitespace fixes.
parent
4e329a67
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
test_performance_computation.dart
examples/game/test_performance_computation.dart
+1
-1
indexed_stack.dart
examples/widgets/indexed_stack.dart
+1
-1
box.dart
packages/flutter/lib/src/rendering/box.dart
+2
-2
object.dart
packages/flutter/lib/src/rendering/object.dart
+1
-1
widget_tester.dart
packages/unit/test/widget/widget_tester.dart
+1
-1
No files found.
examples/game/test_performance_computation.dart
View file @
1aa2751b
...
...
@@ -147,7 +147,7 @@ class TestParticleSystem {
_emitCounter
+=
dt
;
}
while
(
_particles
.
length
<
maxParticles
while
(
_particles
.
length
<
maxParticles
&&
_emitCounter
>
rate
&&
(
numParticlesToEmit
==
0
||
_numEmittedParticles
<
numParticlesToEmit
))
{
// Add a new particle
...
...
examples/widgets/indexed_stack.dart
View file @
1aa2751b
...
...
@@ -29,7 +29,7 @@ class IndexedStackDemoState extends State<IndexedStackDemo> {
}
Widget
build
(
BuildContext
context
)
{
List
<
PopupMenuItem
>
items
=
_buildMenu
();
List
<
PopupMenuItem
>
items
=
_buildMenu
();
IndexedStack
indexedStack
=
new
IndexedStack
(
items
,
index:
_itemIndex
,
alignment:
const
FractionalOffset
(
0.5
,
0.0
));
return
new
Scaffold
(
...
...
packages/flutter/lib/src/rendering/box.dart
View file @
1aa2751b
...
...
@@ -592,7 +592,7 @@ abstract class RenderBox extends RenderObject {
assert
(
attached
);
Matrix4
transform
=
new
Matrix4
.
identity
();
RenderObject
renderer
=
this
;
while
(
renderer
!=
null
)
{
while
(
renderer
!=
null
)
{
renderer
.
applyPaintTransform
(
transform
);
renderer
=
renderer
.
parent
;
}
...
...
@@ -604,7 +604,7 @@ abstract class RenderBox extends RenderObject {
/// Convert the given point from the local coordiante system for this box to
/// the global coordinate sytem
Point
localToGlobal
(
Point
point
)
{
List
<
RenderObject
>
renderers
=
<
RenderObject
>[];
List
<
RenderObject
>
renderers
=
<
RenderObject
>[];
for
(
RenderObject
renderer
=
this
;
renderer
!=
null
;
renderer
=
renderer
.
parent
)
renderers
.
add
(
renderer
);
Matrix4
transform
=
new
Matrix4
.
identity
();
...
...
packages/flutter/lib/src/rendering/object.dart
View file @
1aa2751b
...
...
@@ -614,7 +614,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
_debugDoingLayout
=
true
;
try
{
// TODO(ianh): assert that we're not allowing previously dirty nodes to redirty themeselves
while
(
_nodesNeedingLayout
.
isNotEmpty
)
{
while
(
_nodesNeedingLayout
.
isNotEmpty
)
{
List
<
RenderObject
>
dirtyNodes
=
_nodesNeedingLayout
;
_nodesNeedingLayout
=
new
List
<
RenderObject
>();
dirtyNodes
..
sort
((
RenderObject
a
,
RenderObject
b
)
=>
a
.
depth
-
b
.
depth
)..
forEach
((
RenderObject
node
)
{
...
...
packages/unit/test/widget/widget_tester.dart
View file @
1aa2751b
...
...
@@ -51,7 +51,7 @@ class WidgetTester {
if
(
layer
is
ContainerLayer
)
{
ContainerLayer
root
=
layer
;
Layer
child
=
root
.
firstChild
;
while
(
child
!=
null
)
{
while
(
child
!=
null
)
{
result
.
addAll
(
_layers
(
child
));
child
=
child
.
nextSibling
;
}
...
...
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