fix textbox highlight issue

This commit is contained in:
Jinhao 2018-05-12 06:49:53 +08:00
parent 9370f13a1b
commit 4bb720a989

View File

@ -1,7 +1,7 @@
/* /*
* A text editor implementation * A text editor implementation
* Nana C++ Library(http://www.nanapro.org) * Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2017 Jinhao(cnjinhao@hotmail.com) * Copyright(C) 2003-2018 Jinhao(cnjinhao@hotmail.com)
* *
* Distributed under the Boost Software License, Version 1.0. * Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at * (See accompanying file LICENSE_1_0.txt or copy at
@ -3340,7 +3340,7 @@ namespace nana{ namespace widgets
canvas.rectangle(true); canvas.rectangle(true);
ent_pos.x += ent_off; ent_pos.x = pos.x + ent_off;
if (rtl) if (rtl)