mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-27 22:03:43 -06:00
RichTextView::NoLazy avoids lazy update of images
git-svn-id: svn://ultimatepp.org/upp/trunk@1061 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1e07f84e95
commit
d692aea5c6
3 changed files with 8 additions and 1 deletions
|
|
@ -242,7 +242,8 @@ void RichTextView::EndSizeTracking()
|
|||
|
||||
void RichTextView::Layout()
|
||||
{
|
||||
if(IsOpen()) {
|
||||
sizetracking = false;
|
||||
if(IsOpen() && lazy) {
|
||||
sizetracking = true;
|
||||
KillTimeCallback(TIMEID_ENDSIZETRACKING);
|
||||
SetTimeCallback(250, THISBACK(EndSizeTracking), TIMEID_ENDSIZETRACKING);
|
||||
|
|
@ -392,6 +393,7 @@ RichTextView::RichTextView()
|
|||
SetFrame(ViewFrame());
|
||||
AddFrame(sb);
|
||||
NoWantFocus();
|
||||
lazy = true;
|
||||
}
|
||||
|
||||
RichTextView::~RichTextView() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue