|
@@ -1,6 +1,6 @@
|
|
|
import { SMouseEvent, SUndoStack } from "@saga-web/base";
|
|
|
import { SGraphScene, SGraphLayoutType, SAnchorItem } from '@saga-web/graph/lib';
|
|
|
-import { SFloorParser, SLineItem, SPolylineItem, SItemStatus, ItemOrder, STooltipItem, ItemColor } from "@saga-web/big";
|
|
|
+import { SFloorParser, SLineItem, SPolylineItem, SItemStatus, ItemOrder, STooltipItem, ItemColor,Transparency } from "@saga-web/big";
|
|
|
import { SGraphItem, SLineStyle, SGraphPropertyCommand, SImageItem, STextItem, SGraphPointListInsert, SGraphPointListDelete, SGraphPointListUpdate, SGraphAddCommand } from "@saga-web/graph/lib";
|
|
|
import { SGraphAddListCommand } from "./SGraphAddListCommand"
|
|
|
import { SGraphDeleteCommand } from "./SGraphDeleteCommand"
|
|
@@ -680,9 +680,10 @@ export class EditScence extends SGraphScene {
|
|
|
*/
|
|
|
upadatfillColor(fillColor: string): void {
|
|
|
if (this.focusItem && this.focusItem.fillColor) {
|
|
|
- const newMsg = new SColor(fillColor);
|
|
|
+ const fillColorT = fillColor+Transparency[20];
|
|
|
+ const newMsg = new SColor(fillColorT);
|
|
|
const oldMsg = this.focusItem.fillColor;
|
|
|
- this.focusItem.fillColor = new SColor(fillColor);
|
|
|
+ this.focusItem.fillColor = new SColor(fillColorT);
|
|
|
this.undoStack.push(new SGraphPropertyCommand(this, this.focusItem, "num", oldMsg, newMsg));
|
|
|
}
|
|
|
}
|