fix:Highlight flicker
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
parent
d4680df3d9
commit
9ac0f8231c
@ -335,7 +335,6 @@ export class LinearElementEditor {
|
||||
|
||||
// Apply the point movement if needed
|
||||
let suggestedBinding: AppState["suggestedBinding"] = null;
|
||||
if (deltaX || deltaY) {
|
||||
const { positions, updates } = pointDraggingUpdates(
|
||||
[idx],
|
||||
deltaX,
|
||||
@ -368,7 +367,6 @@ export class LinearElementEditor {
|
||||
app.scene,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// PERF: Avoid state updates if not absolutely necessary
|
||||
if (
|
||||
@ -481,7 +479,6 @@ export class LinearElementEditor {
|
||||
|
||||
// Apply the point movement if needed
|
||||
let suggestedBinding: AppState["suggestedBinding"] = null;
|
||||
if (deltaX || deltaY) {
|
||||
const { positions, updates } = pointDraggingUpdates(
|
||||
selectedPointsIndices,
|
||||
deltaX,
|
||||
@ -517,7 +514,6 @@ export class LinearElementEditor {
|
||||
app.scene,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Attached text might need to update if arrow dimensions change
|
||||
const boundTextElement = getBoundTextElement(element, elementsMap);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user