mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
hintboxext: center vertically on screen
the previous algorithm was 'slightly above center', but now it is too high on the screen -> simply center it
This commit is contained in:
@@ -219,7 +219,7 @@ void CHintBoxExt::paint(bool toround)
|
||||
}
|
||||
|
||||
m_window = new CFBWindow(getScreenStartX(m_width + SHADOW_OFFSET),
|
||||
getScreenStartY(m_height + SHADOW_OFFSET) / 2,
|
||||
getScreenStartY(m_height + SHADOW_OFFSET),
|
||||
m_width + SHADOW_OFFSET,
|
||||
m_height + SHADOW_OFFSET);
|
||||
|
||||
|
Reference in New Issue
Block a user