2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Fixed files overview thumbnails in retina. Fixed profile member list styles.

All round buttons over animations removed. Checkbox round radius smaller.
This commit is contained in:
John Preston
2016-06-10 09:54:56 +03:00
parent 3bb53b6ed1
commit bf247455ee
8 changed files with 10 additions and 9 deletions

View File

@@ -90,7 +90,7 @@ void Slider::setSelected(int32 sel) {
void Slider::paintEvent(QPaintEvent *e) {
Painter p(this);
p.fillRect(0, (height() - _st.thikness) / 2, width(), _st.thikness, _st.color->b);
p.fillRect(0, (height() - _st.thickness) / 2, width(), _st.thickness, _st.color->b);
int32 x = qFloor(_sel * float64(width() - _st.bar.pxWidth()) / (_count - 1)), y = (height() - _st.bar.pxHeight()) / 2;
p.drawSprite(QPoint(x, y), _st.bar);