mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
🐛 Fix color picker blurry bitmap
This commit is contained in:
parent
1c29c73b8e
commit
d0889931b5
2 changed files with 8 additions and 3 deletions
|
@ -316,7 +316,7 @@
|
|||
(if picking-color?
|
||||
[:div {:class (stl/css :picker-detail-wrapper)}
|
||||
[:div {:class (stl/css :center-circle)}]
|
||||
[:canvas#picker-detail {:width 256 :height 140}]]
|
||||
[:canvas#picker-detail {:class (stl/css :picker-detail) :width 256 :height 140}]]
|
||||
[:& ramp-selector
|
||||
{:color current-color
|
||||
:disable-opacity disable-opacity
|
||||
|
@ -328,7 +328,7 @@
|
|||
(if picking-color?
|
||||
[:div {:class (stl/css :picker-detail-wrapper)}
|
||||
[:div {:class (stl/css :center-circle)}]
|
||||
[:canvas#picker-detail {:width 256 :height 140}]]
|
||||
[:canvas#picker-detail {:class (stl/css :picker-detail) :width 256 :height 140}]]
|
||||
[:& harmony-selector
|
||||
{:color current-color
|
||||
:disable-opacity disable-opacity
|
||||
|
@ -340,7 +340,7 @@
|
|||
(if picking-color?
|
||||
[:div {:class (stl/css :picker-detail-wrapper)}
|
||||
[:div {:class (stl/css :center-circle)}]
|
||||
[:canvas#picker-detail {:width 256 :height 140}]]
|
||||
[:canvas#picker-detail {:class (stl/css :picker-detail) :width 256 :height 140}]]
|
||||
[:& hsva-selector
|
||||
{:color current-color
|
||||
:disable-opacity disable-opacity
|
||||
|
|
|
@ -132,6 +132,11 @@
|
|||
transform: translate(calc(-1 * $s-12), calc(-1 * $s-12));
|
||||
}
|
||||
|
||||
.picker-detail {
|
||||
image-rendering: crisp-edges;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.select {
|
||||
width: $s-116;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue