mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Removed old code in atari/toolbar.c
This commit is contained in:
parent
c938ee105f
commit
a7499820ba
@ -407,22 +407,6 @@ static void toolbar_reflow(struct s_toolbar *tb)
|
||||
throbber_form[tb->throbber.index].ob_x = offx;
|
||||
throbber_form[tb->throbber.index].ob_y = offy;
|
||||
|
||||
/*throbber_form[tb->throbber.index].ob_x = tb->area.g_x
|
||||
+ tb->form[TOOLBAR_AREA_RIGHT].ob_x
|
||||
+ tb->form[TOOLBAR_THROBBER_AREA].ob_x;*/
|
||||
|
||||
/*
|
||||
throbber_form[tb->throbber.index].ob_x = tb->area.g_x
|
||||
+ tb->form[TOOLBAR_AREA_RIGHT].ob_x
|
||||
+ tb->form[TOOLBAR_THROBBER_AREA].ob_x
|
||||
+ ((tb->form[TOOLBAR_THROBBER_AREA].ob_width
|
||||
- throbber_form[tb->throbber.index].ob_width) >> 1);
|
||||
|
||||
throbber_form[tb->throbber.index].ob_y = tb->area.g_y
|
||||
+ ((tb->form[TOOLBAR_THROBBER_AREA].ob_height
|
||||
- throbber_form[tb->throbber.index].ob_height) >> 1);
|
||||
*/
|
||||
|
||||
// align the search button:
|
||||
tb->form[TOOLBAR_SEARCH_ALIGN_RIGHT].ob_x = tb->area.g_w
|
||||
- tb->form[TOOLBAR_SEARCH_ALIGN_RIGHT].ob_width;
|
||||
|
Loading…
Reference in New Issue
Block a user