diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2026-03-19 00:08:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 00:08:44 +0200 |
| commit | 1bd6893388ed939f3d4628be2b5f00de49350d50 (patch) | |
| tree | 4299fe4368df8aa02972ba0b56ae68dd59eb38cc /indra/llui/lllineeditor.cpp | |
| parent | 76d8316e4f2c9ab662c4e94474edf8505ea9480f (diff) | |
| parent | 1dca8b3257d6ac3fb56b28f4368aa0c00eb4795c (diff) | |
Merge pull request #5509 from secondlife/maxim/login_form_update
#5462 Login form update
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
| -rw-r--r-- | indra/llui/lllineeditor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index 4956d93e1c..9a88083a5d 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -97,6 +97,7 @@ LLLineEditor::Params::Params() ignore_tab("ignore_tab", true), is_password("is_password", false), allow_emoji("allow_emoji", true), + draw_focus_border("draw_focus_border", true), cursor_color("cursor_color"), use_bg_color("use_bg_color", false), bg_color("bg_color"), @@ -147,6 +148,7 @@ LLLineEditor::LLLineEditor(const LLLineEditor::Params& p) mIgnoreTab( p.ignore_tab ), mDrawAsterixes( p.is_password ), mAllowEmoji( p.allow_emoji ), + mDrawFocusBorder(p.draw_focus_border), mSpellCheck( p.spellcheck ), mSpellCheckStart(-1), mSpellCheckEnd(-1), @@ -1795,7 +1797,7 @@ void LLLineEditor::drawBackground() if (!image) return; // optionally draw programmatic border - if (has_focus) + if (has_focus && mDrawFocusBorder) { LLColor4 tmp_color = gFocusMgr.getFocusColor(); tmp_color.setAlpha(alpha); |
