mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 22:05:14 +00:00
remove unnecessary comments
This commit is contained in:
@@ -199,7 +199,7 @@ class SvgExample extends Component {
|
|||||||
<Animated.Modal
|
<Animated.Modal
|
||||||
visible={this.state.modal}
|
visible={this.state.modal}
|
||||||
style={[styles.modal, {
|
style={[styles.modal, {
|
||||||
//transform: [{scale: this.state.scale}]
|
transform: [{scale: this.state.scale}]
|
||||||
}]}
|
}]}
|
||||||
>
|
>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
|
|||||||
@@ -283,7 +283,6 @@ public abstract class RNSVGVirtualNode extends LayoutShadowNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void setupDimensions(Canvas canvas) {
|
protected void setupDimensions(Canvas canvas) {
|
||||||
// TODO: not sure this is a right way to get canvas boundingBox
|
|
||||||
Rect mCanvasClipBounds = canvas.getClipBounds();
|
Rect mCanvasClipBounds = canvas.getClipBounds();
|
||||||
mCanvasX = mCanvasClipBounds.left;
|
mCanvasX = mCanvasClipBounds.left;
|
||||||
mCanvasY = mCanvasClipBounds.top;
|
mCanvasY = mCanvasClipBounds.top;
|
||||||
|
|||||||
Reference in New Issue
Block a user