forked from qt-creator/qt-creator
QmlProfiler: Draw time marks only in visible area
The vertical Flickable element can get very large if certain categories are expanded. If the time marks have to fill the whole element the underlying buffers holding the pixmaps and/or OpenGL data may overflow. Task-number: QTCREATORBUG-10420 Change-Id: I45952e8237bb827a963e0e4e8deb060646c0c8f4 Reviewed-by: Ulf Hermann <ulf.hermann@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -349,10 +349,10 @@ Rectangle {
|
||||
// ***** child items
|
||||
TimeMarks {
|
||||
id: backgroundMarks
|
||||
y: labels.y
|
||||
height: flick.height
|
||||
y: vertflick.contentY
|
||||
height: vertflick.height
|
||||
width: flick.width
|
||||
anchors.left: flick.left
|
||||
anchors.right: flick.right
|
||||
}
|
||||
|
||||
Flickable {
|
||||
|
||||
Reference in New Issue
Block a user