File tree 2 files changed +3
-2
lines changed
Paintroid/src/main/java/org/catrobat/paintroid
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ class TextTool(
405
405
underlined = getBoolean(BUNDLE_TOOL_UNDERLINED , underlined)
406
406
italic = getBoolean(BUNDLE_TOOL_ITALIC , italic)
407
407
bold = getBoolean(BUNDLE_TOOL_BOLD , bold)
408
- outlined = getBoolean(BUNDLE_TOOL_UNDERLINED , outlined)
408
+ outlined = getBoolean(BUNDLE_TOOL_OUTLINED , outlined)
409
409
text = getString(BUNDLE_TOOL_TEXT , text)
410
410
textSize = getInt(BUNDLE_TOOL_TEXT_SIZE , textSize)
411
411
font = FontType .valueOf(getString(BUNDLE_TOOL_FONT , font.name))
Original file line number Diff line number Diff line change @@ -231,10 +231,11 @@ class DefaultTextToolOptionsView(rootView: ViewGroup) : TextToolOptionsView {
231
231
italicToggleButton.isChecked = italic
232
232
underlinedToggleButton.isChecked = underlined
233
233
outlineToggleButton.isChecked = outlined
234
+ notifyOutlineChanged(outlined)
234
235
textEditText.setText(text)
235
236
(fontList.adapter as FontListAdapter ).setSelectedIndex(fontTypes.indexOf(fontType))
236
237
fontSizeText.setText(DEFAULT_TEXTSIZE )
237
- outlineWidthText.setText(outlineWidth)
238
+ outlineWidthText.setText(outlineWidth.toString() )
238
239
}
239
240
240
241
override fun setCallback (listener : TextToolOptionsView .Callback ) {
You can’t perform that action at this time.
0 commit comments