paulkinzett / toolbar

A tooltip style toolbar jQuery plugin
http://paulkinzett.github.com/toolbar/
MIT License
2.3k stars 321 forks source link

Adding resizing adjusment support #33

Closed DenisPitcher closed 10 years ago

DenisPitcher commented 10 years ago

When using a custom adjustment parameter (great feature, not sure why it is undocumented) the resizing is broken such that it ends up 20 px offset from where it is supposed to be. This is handled when you have no custom adjustment with

self.toolbarCss = self.getCoordinates(self.options.position, 20);

However when you use a custom adjustment, this 20 value is lost and the toolbar is improperly shifted

paulkinzett commented 10 years ago

Thanks @DenisPitcher, will need to update documentation to include the options, didn't realise it was missing.