[app] Tweaked the selection background
This commit is contained in:
parent
f16e0a8a61
commit
7b7f8b9e97
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2015-2016 Jolla Ltd.
|
* Copyright (C) 2015-2018 Jolla Ltd.
|
||||||
* Contact: Slava Monich <slava.monich@jolla.com>
|
* Copyright (C) 2015-2018 Slava Monich <slava.monich@jolla.com>
|
||||||
*
|
*
|
||||||
* You may use this file under the terms of the BSD license as follows:
|
* You may use this file under the terms of the BSD license as follows:
|
||||||
*
|
*
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
* notice, this list of conditions and the following disclaimer in
|
* notice, this list of conditions and the following disclaimer in
|
||||||
* the documentation and/or other materials provided with the
|
* the documentation and/or other materials provided with the
|
||||||
* distribution.
|
* distribution.
|
||||||
* * Neither the name of Nemo Mobile nor the names of its contributors
|
* * Neither the name of Jolla Ltd nor the names of its contributors
|
||||||
* may be used to endorse or promote products derived from this
|
* may be used to endorse or promote products derived from this
|
||||||
* software without specific prior written permission.
|
* software without specific prior written permission.
|
||||||
*
|
*
|
||||||
|
@ -293,7 +293,7 @@ ZLColor BooksPaintContext::realColor(const std::string& aStyle, bool aInvert)
|
||||||
} else if (aStyle == BOOK_HYPERLINK) {
|
} else if (aStyle == BOOK_HYPERLINK) {
|
||||||
return realColor(23, 68, 128, aInvert);
|
return realColor(23, 68, 128, aInvert);
|
||||||
} else if (aStyle == ZLTextStyle::SELECTION_BACKGROUND) {
|
} else if (aStyle == ZLTextStyle::SELECTION_BACKGROUND) {
|
||||||
return realColor(82, 131, 194, aInvert);
|
return realColor(60, 139, 255, aInvert);
|
||||||
} else if (aStyle == ZLTextStyle::HIGHLIGHTED_TEXT) {
|
} else if (aStyle == ZLTextStyle::HIGHLIGHTED_TEXT) {
|
||||||
return realColor(60, 139, 255, aInvert);
|
return realColor(60, 139, 255, aInvert);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue