-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #916 from openkraken/fix/resize-style-fail
fix: style fail after resize
- Loading branch information
Showing
13 changed files
with
146 additions
and
135 deletions.
There are no files selected for viewing
Binary file added
BIN
+2.34 KB
integration_tests/snapshots/css/css-flexbox/align-items.ts.e81143e31.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.32 KB
integration_tests/snapshots/css/css-flexbox/align-items.ts.e81143e32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (C) 2019-present Alibaba Inc. All rights reserved. | ||
* Author: Kraken Team. | ||
*/ | ||
import 'dart:ui' as ui show Image; | ||
import 'package:flutter/rendering.dart'; | ||
|
||
class KrakenRenderImage extends RenderImage { | ||
KrakenRenderImage({ | ||
ui.Image? image, | ||
BoxFit? fit, | ||
AlignmentGeometry alignment = Alignment.center, | ||
}) : super( | ||
image: image, | ||
fit: fit, | ||
alignment: alignment, | ||
); | ||
|
||
@override | ||
void performLayout() { | ||
Size trySize = constraints.biggest; | ||
size = trySize.isInfinite ? constraints.smallest : trySize; | ||
} | ||
} | ||
|
||
|
Oops, something went wrong.