diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2016-08-04 10:10:06 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2016-08-04 10:10:06 -0400 |
commit | f53d39d38a67ef4bd231ddddb61a53a3e5e8775c (patch) | |
tree | cefac014e94fdec73f0298bad2aff60d11a9ce27 /dw/textblock.cc | |
parent | 89a3621f776fe93a30ebeba681a550de933ef059 (diff) |
Revert commit #4653 (on hold)
This patch is "on hold", as it depends on reverted code,
and at least would need a non-automatic merge.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 615e6f11..d7af4420 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -3044,17 +3044,8 @@ void Textblock::queueDrawRange (int index1, int index2) void Textblock::updateReference (int ref) { - DBG_OBJ_ENTER ("resize", 0, "updateReference", "%d", ref); - - // This method can be optimized: nothing must be done when (i) there are no - // words, *and* (ii) there is no float clearance. If the second is not the - // case, `queueResize` must still be called, since `extraSpace.top` may be - // changed. - - if (!(words->size () == 0 && getStyle()->clear == core::style::CLEAR_NONE)) + if (words->size () > 0) queueResize (ref, false); - - DBG_OBJ_LEAVE (); } void Textblock::widgetRefSizeChanged (int externalIndex) |