Skip to content

Commit

Permalink
R & V 0.24.301
Browse files Browse the repository at this point in the history
  • Loading branch information
ychetyrko committed Aug 28, 2024
1 parent 8958045 commit 48ca113
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 46 deletions.
74 changes: 37 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verstak",
"version": "0.24.277",
"version": "0.24.301",
"description": "Verstak - Front-End Library",
"publisher": "Nezaboodka Software",
"license": "Apache-2.0",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"homepage": "https://github.com/nezaboodka/verstak/blob/master/README.md#readme",
"dependencies": {
"reactronic": "^0.24.275"
"reactronic": "^0.24.301"
},
"devDependencies": {
"@types/node": "20.11.17",
Expand Down
2 changes: 1 addition & 1 deletion source/archive/RxDomV1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class BasicNodeType<E, O> implements RxNodeType<E, O> {
if (inst) {
inst.native = undefined
if (!node.inline && node.instance) // TODO: Consider creating one transaction for all finalizations at once
Transaction.separate(() => RxSystem.dispose(node.instance))
Transaction.isolate(() => RxSystem.dispose(node.instance))
for (const x of inst.children)
tryToFinalize(x, initiator)
for (const x of inst.guests)
Expand Down
6 changes: 3 additions & 3 deletions source/html/El.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ export class ElImpl<T extends Element = any, M = any> implements El<T, M> {
this._kind = ElKind.part
this._place = undefined
this._coords = UndefinedElCoords
this._width = Transaction.separate(() => new Size())
this._height = Transaction.separate(() => new Size())
this._width = Transaction.isolate(() => new Size())
this._height = Transaction.isolate(() => new Size())
this._horizontal = undefined
this._vertical = undefined
this._contentHorizontal = undefined
Expand Down Expand Up @@ -736,7 +736,7 @@ export class ElImpl<T extends Element = any, M = any> implements El<T, M> {
const e = element.native
if (e instanceof HTMLElement) {
element.sealed = value
Transaction.separate(() => e.sensors.resize.observeResizing(element, value !== undefined))
Transaction.isolate(() => e.sensors.resize.observeResizing(element, value !== undefined))
}
}

Expand Down
2 changes: 1 addition & 1 deletion source/html/sensors/ButtonSensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class ButtonSensor extends BasePointerSensor {
this.positionY = e.clientY
this.revision++
}
Transaction.separate(() => {
Transaction.isolate(() => {
this.windowSensor?.setActiveWindow(window, "button")
})
}
Expand Down
2 changes: 1 addition & 1 deletion source/html/sensors/HtmlDragSensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class HtmlDragSensor extends HtmlElementSensor {
this.dragTargetWindow = undefined
this.previousDragTarget = undefined
this.revision++
Transaction.separate(() => {
Transaction.isolate(() => {
this.windowSensor?.setActiveWindow(window, "htmlDrag")
})
}
Expand Down
2 changes: 1 addition & 1 deletion source/html/sensors/PointerSensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export class PointerSensor extends BasePointerSensor {
this.dragTarget = undefined
this.dragTargetWindow = undefined
this.previousDragTarget = undefined
Transaction.separate(() => {
Transaction.isolate(() => {
this.windowSensor?.setActiveWindow(window, "pointer")
})
}
Expand Down

0 comments on commit 48ca113

Please sign in to comment.