fix bug that a font lapse after widget resizes

This commit is contained in:
Jinhao 2017-11-14 02:06:48 +08:00
parent 60c85cff52
commit 77f7bdb37c

View File

@ -950,6 +950,7 @@ namespace detail
{
//If allocation fails, here throws std::bad_alloc.
graph.make(sz);
graph.typeface(wd->drawer.graphics.typeface());
if (category::flags::root == wd->other.category)
root_graph.make(sz);
}