mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Add anchorPosition as a field for FloatingUIPanel.
This commit is contained in:
parent
cb5b5fcfc4
commit
90bfce25e5
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@
|
|||
}
|
||||
|
||||
//
|
||||
// Get or create an overlay object from the id.
|
||||
// Get or create a panel object from the id.
|
||||
//
|
||||
// @param knownOverlaysOnly (Optional: Boolean)
|
||||
// If true, a new object will not be created.
|
||||
|
@ -391,7 +391,7 @@
|
|||
this.message = message;
|
||||
};
|
||||
|
||||
var FIELDS = ["offsetPosition", "offsetRotation", "facingRotation"];
|
||||
var FIELDS = ["anchorPosition", "offsetRotation", "offsetPosition", "facingRotation"];
|
||||
FIELDS.forEach(function(prop) {
|
||||
Object.defineProperty(that.prototype, prop, {
|
||||
get: function() {
|
||||
|
|
Loading…
Reference in a new issue