Remove frame number in monitor overlay until we implement a proper UI to display it

CCBUG: 352816
parent 7a92ff86
......@@ -7,30 +7,9 @@ Item {
// default size, but scalable by user
height: 300; width: 400
property string comment
property string framenum
property point center
property double scale
Rectangle {
id: overlaybg
anchors {
right: parent.right
//left: parent.left
bottom: parent.bottom
}
width: label.width + 10
height: label.height + 10
//height: root.height * 0.1
color: "#99ff0000"
Text {
id: label
objectName: "overlaytext"
anchors.centerIn: parent
text: root.framenum
}
}
Rectangle {
objectName: "marker"
anchors {
......
......@@ -1453,10 +1453,12 @@ void Monitor::onFrameDisplayed(const SharedFrame& frame)
if (!render->checkFrameNumber(position)) {
m_playAction->setActive(false);
}
/*
// display frame number in monitor overlay, currently disabled
if (m_rootItem && m_rootItem->objectName() == "root") {
// we are in main view, show frame
m_rootItem->setProperty("framenum", QString::number(position));
}
}*/
if (position >= m_length) {
m_playAction->setActive(false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment