@blocksuite/phasor
Advanced tools
Comparing version 0.0.0-20230822230555-98129627-nightly to 0.0.0-20230823134503-134d8f1a-nightly
@@ -100,3 +100,3 @@ import { DEFAULT_ROUGHNESS, StrokeStyle } from '../../consts.js'; | ||
ctx.save(); | ||
ctx.strokeStyle = this.stroke; | ||
ctx.strokeStyle = realStrokeColor; | ||
ctx.lineWidth = this.strokeWidth; | ||
@@ -103,0 +103,0 @@ dash && ctx.setLineDash([12, 12]); |
@@ -90,7 +90,7 @@ import { assertExists, Slot } from '@blocksuite/global/utils'; | ||
this._transact(() => { | ||
const yConnnecotrs = []; | ||
const yConnectors = []; | ||
this._yContainer.forEach(yElement => { | ||
const type = yElement.get('type'); | ||
if (type === 'connector') { | ||
yConnnecotrs.push(yElement); | ||
yConnectors.push(yElement); | ||
return; | ||
@@ -100,3 +100,3 @@ } | ||
}); | ||
yConnnecotrs.forEach(yElement => { | ||
yConnectors.forEach(yElement => { | ||
this._createElementFromYMap(yElement); | ||
@@ -103,0 +103,0 @@ }); |
{ | ||
"name": "@blocksuite/phasor", | ||
"version": "0.0.0-20230822230555-98129627-nightly", | ||
"version": "0.0.0-20230823134503-134d8f1a-nightly", | ||
"description": "Hybrid canvas renderer.", | ||
@@ -28,3 +28,3 @@ "main": "dist/index.js", | ||
"fractional-indexing": "^3.2.0", | ||
"@blocksuite/global": "0.0.0-20230822230555-98129627-nightly" | ||
"@blocksuite/global": "0.0.0-20230823134503-134d8f1a-nightly" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -148,3 +148,3 @@ import { DEFAULT_ROUGHNESS, StrokeStyle } from '../../consts.js'; | ||
ctx.save(); | ||
ctx.strokeStyle = this.stroke; | ||
ctx.strokeStyle = realStrokeColor; | ||
ctx.lineWidth = this.strokeWidth; | ||
@@ -151,0 +151,0 @@ dash && ctx.setLineDash([12, 12]); |
@@ -98,7 +98,7 @@ import { assertExists, Slot } from '@blocksuite/global/utils'; | ||
this._transact(() => { | ||
const yConnnecotrs: Y.Map<unknown>[] = []; | ||
const yConnectors: Y.Map<unknown>[] = []; | ||
this._yContainer.forEach(yElement => { | ||
const type = yElement.get('type') as keyof PhasorElementType; | ||
if (type === 'connector') { | ||
yConnnecotrs.push(yElement); | ||
yConnectors.push(yElement); | ||
return; | ||
@@ -108,3 +108,3 @@ } | ||
}); | ||
yConnnecotrs.forEach(yElement => { | ||
yConnectors.forEach(yElement => { | ||
this._createElementFromYMap(yElement); | ||
@@ -111,0 +111,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1020402
+ Added@blocksuite/global@0.0.0-20230823134503-134d8f1a-nightly(transitive)
- Removed@blocksuite/global@0.0.0-20230822230555-98129627-nightly(transitive)
Updated@blocksuite/global@0.0.0-20230823134503-134d8f1a-nightly