Skip to content

Commit

Permalink
Only show focus on InputField when it's decorated
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Sep 21, 2023
1 parent 89471e0 commit d3a226d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/org/jetbrains/jewel/InputField.kt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ internal fun InputField(
value = value,
modifier = modifier.then(backgroundModifier)
.then(borderModifier)
.focusOutline(inputState, shape)
.appendIf(!undecorated) { focusOutline(inputState, shape) }
.outline(inputState, outline, shape),
onValueChange = onValueChange,
enabled = enabled,
Expand Down

0 comments on commit d3a226d

Please sign in to comment.