mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Fix popover positioning regression
This commit is contained in:
parent
b3fa6347c2
commit
3fba54fad1
1 changed files with 1 additions and 3 deletions
|
|
@ -10,8 +10,6 @@
|
|||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
@use "sass:color";
|
||||
|
||||
.popover {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
|
|
@ -128,7 +126,7 @@ export default defineComponent({
|
|||
updated() {
|
||||
const popoverContainer = this.$refs.popoverContainer as HTMLElement;
|
||||
const popoverContent = this.$refs.popoverContent as HTMLElement;
|
||||
const workspace = document.querySelector(".workspace");
|
||||
const workspace = document.querySelector(".workspace-row");
|
||||
|
||||
if (popoverContent && workspace) {
|
||||
const workspaceBounds = workspace.getBoundingClientRect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue