summaryrefslogtreecommitdiff
path: root/dash
diff options
authorhandsome_feng <445865575@qq.com>2016-02-14 19:26:30 +0800
committerhandsome_feng <445865575@qq.com>2016-02-14 19:26:30 +0800
commit7999621036b0e39046c452caf2eda8ae9f300988 (patch)
tree329655238636c4cf6c0a7fb51274d962c844abd3 /dash
parentaaa059d91664692e0bbb8aa5362b9469aaf87263 (diff)
draw the border of dash when at bottom
(bzr r4067.4.4)
Diffstat (limited to 'dash')
-rw-r--r--dash/DashView.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dash/DashView.cpp b/dash/DashView.cpp
index 9b97bace4..97df77797 100644
--- a/dash/DashView.cpp
+++ b/dash/DashView.cpp
@@ -742,6 +742,8 @@ void DashView::DrawContent(nux::GraphicsEngine& graphics_engine, bool force_draw
// See lp bug: 1125346 (The sharp white line between dash and launcher is missing)
nux::Geometry clip_geo = geo_layout;
clip_geo.x += 1;
+ if (Settings::Instance().launcher_position() == LauncherPosition::BOTTOM)
+ clip_geo.y += renderer_y_offset;
graphics_engine.PushClippingRectangle(clip_geo);
if (IsFullRedraw())