1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 324597 - [disassembly] maximizing/resizing view sometimes leaves "........" lines

Patch from Kirk Beitz (Nokia)
This commit is contained in:
Anton Leherbauer 2010-09-07 08:27:23 +00:00
parent 77a4148807
commit 3c81bdc94b

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007, 2009 Wind River Systems and others.
* Copyright (c) 2007, 2010 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -277,6 +277,9 @@ public class DisassemblyViewer extends SourceViewer {
protected void updateViewportListeners(int origin) {
fCachedLastTopPixel = fLastTopPixel;
fUserTriggeredScrolling = origin != INTERNAL && origin != RESIZE;
if (origin == RESIZE) {
fLastTopPixel = -1;
}
super.updateViewportListeners(origin);
}