This commit is contained in:
joylink_zhaoerwei 2023-12-05 11:05:14 +08:00
parent b683f45612
commit d58fb4efab

View File

@ -122,10 +122,10 @@ export class ConcentrationDividingLine
const [leftDevice, rightDevice] = const [leftDevice, rightDevice] =
refDevice.localToCanvasPoint( refDevice.localToCanvasPoint(
getRectangleCenter(refDevice.getLocalBounds()) getRectangleCenter(refDevice.getLocalBounds())
) < ).x <
section.localToCanvasPoint( section.localToCanvasPoint(
getRectangleCenter(section.getLocalBounds()) getRectangleCenter(section.getLocalBounds())
) ).x
? [ ? [
{ {
device: refDevice, device: refDevice,