Skip to content

Commit

Permalink
fixed bug floatMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
dariodepa75 committed Nov 8, 2023
1 parent a7c5ee3 commit 2e6c520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ export class CdsCanvasComponent implements OnInit {
private openFloatMenuOnConnectorDraftReleased(detail){
this.logger.log("[CDS CANVAS] ho rilasciato in un punto qualsiasi dello stage e quindi apro il float menu", detail);
this.positionFloatMenu = this.stageService.physicPointCorrector(detail.menuPoint);
this.positionFloatMenu.x = this.positionFloatMenu.x + 300;
let marginLeft = this.IS_OPEN_INTENTS_LIST?290:60;
this.positionFloatMenu.x = this.positionFloatMenu.x+marginLeft;
detail.menuPoint = this.positionFloatMenu;
this.closeAllPanels();
this.IS_OPEN_ADD_ACTIONS_MENU = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@

.footer-intent {
cursor: pointer;
margin-bottom: -10px;
.last-action-intent {
padding: 0 12px 0 0;
margin: 7px 0 -4px 0;
Expand Down

0 comments on commit 2e6c520

Please sign in to comment.