code/richediting/src/main/kotlin/org/fbme/ide/richediting/adapters/fbnetwork/BrokenPortController.kt [39:46]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun getBounds(position: Point): Rectangle { val oppositePortCoordinates = myComponentController.getPortCoordinates(myOpposite, position) val anchor = Point( oppositePortCoordinates.x - OPPOSITE_PORT_PADDING - 2 * INNER_BORDER_PADDING - componentCell.width, oppositePortCoordinates.y - componentCell.height / 2 ) return Rectangle(anchor, dimension) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - code/richediting/src/main/kotlin/org/fbme/ide/richediting/adapters/fbnetwork/InlineValueController.kt [38:45]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun getBounds(position: Point): Rectangle { val oppositePortCoordinates = myComponentController.getPortCoordinates(myOpposite, position) val anchor = Point( oppositePortCoordinates.x - OPPOSITE_PORT_PADDING - 2 * INNER_BORDER_PADDING - componentCell.width, oppositePortCoordinates.y - componentCell.height / 2 ) return Rectangle(anchor, dimension) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -