mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[editor] IJPL-171779 Adjust sticky line shadow to match the intensity before the border overlapping fix
(cherry picked from commit bf03bbfccd0df03303e2dc479d6a38e97a03407e) IJ-CR-150679 GitOrigin-RevId: 509e35a0ec7acecb93fa756bf55b8d1ce0c3dffa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2e16415263
commit
5cb944666b
@@ -11,9 +11,9 @@ internal class StickyLineShadowPainter(var isDarkColorScheme: Boolean = false) {
|
||||
|
||||
// shadow settings
|
||||
private val SHADOW_HEIGHT_FACTOR_LIGHT: Double = 0.17
|
||||
private val SHADOW_HEIGHT_FACTOR_DARK : Double = 0.3
|
||||
private val SHADOW_HEIGHT_FACTOR_DARK : Double = 0.25
|
||||
private val SHADOW_COLOR_ALPHA_LIGHT : Int = 8
|
||||
private val SHADOW_COLOR_ALPHA_DARK : Int = 45
|
||||
private val SHADOW_COLOR_ALPHA_DARK : Int = 32
|
||||
private val SHADOW_COLOR_LIGHT = Color(0, 0, 0, SHADOW_COLOR_ALPHA_LIGHT)
|
||||
private val SHADOW_COLOR_DARK = Color(0, 0, 0, SHADOW_COLOR_ALPHA_DARK)
|
||||
private val SHADOW_COLOR_TRANSPARENT = Color(0, 0, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user