You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think in an earlier version, this functionallity was already implemented, but now I can't find them anymore.
However it should be pretty easy to add this to getPinState() in floating.js. From what I have seen, this function is only alled from Toolbar.init().
/**
* Retreive the persisted pinned position of the FloatingMenu surface.
* The pinned Position is defined by the
* 1. FloatingMenue settings
* 2. The last pinned Position (if no 1.)
*
* @return {object}
*/
function getPinState() {
//SK edit: Added Function to position Toolbar
if (typeof Aloha === 'object' &&
typeof Aloha.settings === 'object' &&
typeof Aloha.settings.FloatingMenue === 'object') {
return Aloha.settings.FloatingMenue;
}
else if (amplifyStore.store('Aloha.FloatingMenu.pinned') === 'true') {
return {
top: parseInt(amplifyStore.store('Aloha.FloatingMenu.top'), 10),
left: parseInt(amplifyStore.store('Aloha.FloatingMenu.left'), 10),
isPinned: true
};
} else
return {
top: null,
left: null,
isPinned: false
};
}
The text was updated successfully, but these errors were encountered:
Hi,
I think in an earlier version, this functionallity was already implemented, but now I can't find them anymore.
However it should be pretty easy to add this to getPinState() in floating.js. From what I have seen, this function is only alled from Toolbar.init().
The text was updated successfully, but these errors were encountered: