bergie/hallo — pull request #120 by ncri (2012-10-15 20:14:03+00:00)
Title: Improved contextual toolbar positioning

Fixes the contextual toolbar to cover selections that are about to be edited.

In case there is a selection, move toolbar on top of it and align with
start of selection. Else move it on top of current position, center it and move
it slightly to the right.

Hope you like it!

In the future it would probably be best to also test for the case when the toolbar
will popup outside the visible area, like for text on the top of the client window,
and reposition it to a visible position.

A general question: I was building hallo.js with these changes before committing.
Shall I always do this or rather not check in new builds?