[gnome-maps] placeMarker: Remove left-over code
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] placeMarker: Remove left-over code
- Date: Sun, 28 Aug 2022 20:47:23 +0000 (UTC)
commit 9597d870a7caa8c6b971931657626622cb7ea35a
Author: Marcus Lundblad <ml dfupdate se>
Date: Sun Aug 28 22:45:22 2022 +0200
placeMarker: Remove left-over code
Remove left-over getter for anchor point
of Clutter actor. For now, markers are
always centered on their coordinate.
src/placeMarker.js | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/src/placeMarker.js b/src/placeMarker.js
index b80b02f0..6a18c12f 100644
--- a/src/placeMarker.js
+++ b/src/placeMarker.js
@@ -33,11 +33,6 @@ export class PlaceMarker extends MapMarker {
this._image.icon_size = Gtk.IconSize.LARGE;
}
- get anchor() {
- return { x: Math.floor(this.width / 2),
- y: this.height - 3 };
- }
-
_hasBubble() {
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]