From f796e83362b646f153f9ef9a6041269facf62656 Mon Sep 17 00:00:00 2001 From: pcnerd97 Date: Tue, 7 Apr 2015 19:05:28 +0100 Subject: Browser And Dock Fixes This pull request fixes a few issues with the dock and adds unlimited tabs to the webbrowser --- ShiftOS/DockWindow.vb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ShiftOS/DockWindow.vb') diff --git a/ShiftOS/DockWindow.vb b/ShiftOS/DockWindow.vb index af3e072..666abfe 100644 --- a/ShiftOS/DockWindow.vb +++ b/ShiftOS/DockWindow.vb @@ -7,6 +7,7 @@ Dim currenttile As String = 0 Public loadevents As New DockEngine Public docktopbot As String = "Bottom" + Public firststart As Boolean Public Sub colours() 'Dim img As New Bitmap(picBackColor.Width, picBackColor.Height) @@ -46,6 +47,10 @@ loadevents.writeConfFile(Me.Top, docktopbot) Me.Top = loadevents.docktop docktopbot = loadevents.topbottom + If firststart = True Then + docktopbot = "Bottom" + Me.Top = screenHeight - Me.Height + 25 + End If If docktopbot = "Bottom" Then 'Me.Top = screenHeight - Me.Height - 42 Me.picBoarder.Top = 96 -- cgit v1.2.3