sep 25 fixes (#9075)

* on class change: remove owned gear from pinned items

* move dragging item-info closer to the cursor (food / hatching potion)

* remove v-once at attributesPopover (if the parent component is recycled the old data stays active)

* prevent popover to show data of an item that was removed - but the popover stays opened
This commit is contained in:
negue
2017-09-27 21:07:42 +02:00
committed by GitHub
parent d40543f4ca
commit 76c3e51660
6 changed files with 26 additions and 8 deletions

View File

@@ -451,7 +451,7 @@
.popover {
position: inherit;
width: 100px;
width: 180px;
}
.popover-content {
@@ -971,8 +971,8 @@
mouseMoved ($event) {
if (this.foodClickMode) {
this.$refs.clickFoodInfo.style.left = `${$event.x + 20}px`;
this.$refs.clickFoodInfo.style.top = `${$event.y + 20}px`;
this.$refs.clickFoodInfo.style.left = `${$event.x - 70}px`;
this.$refs.clickFoodInfo.style.top = `${$event.y}px`;
} else {
lastMouseMoveEvent = $event;
}