Commit 79c09ab6 authored by Clément Fauconnier's avatar Clément Fauconnier

improved active scene lisibility and changed color + fix update view on dropEvent

parent d4a3a198
......@@ -317,4 +317,6 @@ void UBBoardThumbnailsView::dropEvent(QDropEvent *event)
mDropSource = NULL;
mDropTarget = NULL;
mDropBar->hide();
update();
}
......@@ -488,10 +488,11 @@ class UBDraggableThumbnailView : public UBDraggableThumbnail
void setPageNumber(int i)
{
mPageNumber->setPlainText(tr("Page %0").arg(i+1));
if (UBApplication::boardController->activeSceneIndex() == i)
mPageNumber->setDefaultTextColor(QColor("#6682b5"));
mPageNumber->setHtml("<span style=\";font-weight:bold;color: red\">" + tr("Page %0").arg(i+1) + "</span>");
else
mPageNumber->setDefaultTextColor(QColor("#000000"));
mPageNumber->setHtml("<span style=\";color: #000000\">" + tr("Page %0").arg(i+1) + "</span>");
}
private:
......
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