mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
Avoid click on graph when zooming
This commit is contained in:
@ -287,7 +287,6 @@ document.addEventListener("alpine:init", () => {
|
||||
config.activeUser,
|
||||
);
|
||||
this.graph.userZoomingEnabled(this.isZoomEnabled);
|
||||
this.$refs.graph.prepend(this.$refs.zoomControl);
|
||||
this.loading = false;
|
||||
},
|
||||
}));
|
||||
|
@ -2,12 +2,12 @@
|
||||
width: 100%;
|
||||
height: 70vh;
|
||||
display: block;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.zoom-control {
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
}
|
||||
|
||||
.graph-toolbar {
|
||||
|
Reference in New Issue
Block a user