fix slit onhead with BOTTOMLEFT placement, patch from Tomas Janousek <tomi at nomi dot cz>

This commit is contained in:
mathias 2007-04-20 20:26:57 +00:00
parent 3980e3c40a
commit d267acc8e0
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
(Format: Year/Month/Day)
Changes for 1.0.0:
*07/04/20:
* Fix slit.onhead with BOTTOMLEFT placement.(Thanks Tomas Janousek <tomi@nomi.cz>)
Slit.cc
*07/04/19:
* Fixed crash when CustomMenu command doesn't point to a file (Mark)
FbCommands.cc

View file

@ -847,7 +847,7 @@ void Slit::reposition() {
case BOTTOMLEFT:
frame.x = head_x;
frame.y = head_h - frame.height - border_width*2;
frame.y = head_y + head_h - frame.height - border_width*2;
if (direction() == VERTICAL) {
frame.x_hidden = head_x + bevel_width -
border_width - frame.width;