|
@@ -945,8 +945,14 @@ export default class Draw {
|
|
|
ctx.fill();
|
|
|
ctx.restore();
|
|
|
};
|
|
|
-
|
|
|
- if (Settings.selectBasePointId === vector.vectorId) {
|
|
|
+ let points = dataService.vectorData.points;
|
|
|
+ for (let key in points) {
|
|
|
+ if (points[key].category == VectorCategory.Point.BasePoint) {
|
|
|
+ Settings.selectBasePointId = points[key].vectorId;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ let focusItem = stateService.getFocusItem()
|
|
|
+ if (Settings.selectBasePointId === vector.vectorId && focusItem?.vectorId == vector.vectorId ) {
|
|
|
style = {
|
|
|
...style,
|
|
|
strokeStyle: "rgba(255,255,255,1)",
|