~ahayzen/webbrowser-app/fix-1630211-drag-tabs-quickly-incorrect-position

« back to all changes in this revision

Viewing changes to src/app/webbrowser/BrowserTab.qml

  • Committer: Andrew Hayzen
  • Date: 2016-10-04 14:35:03 UTC
  • mfrom: (1502.10.9 trunk)
  • Revision ID: ahayzen@gmail.com-20161004143503-hquecw3k02vo85zh
* Merge of trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
 
19
19
import QtQuick 2.4
 
20
import QtQuick.Window 2.2
20
21
import Ubuntu.Web 0.2
21
22
import com.canonical.Oxide 1.4 as Oxide
22
23
import webbrowserapp.private 0.1
159
160
                return
160
161
            }
161
162
 
 
163
            if (Window.visibility == Window.Hidden) {
 
164
                visible = false
 
165
                return
 
166
            }
 
167
 
162
168
            internal.hiding = true
163
169
            webview.grabToImage(function(result) {
164
170
                if (!internal.hiding) {