mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 324597 - [disassembly] maximizing/resizing view sometimes leaves "........" lines
Patch from Kirk Beitz (Nokia)
This commit is contained in:
parent
77a4148807
commit
3c81bdc94b
1 changed files with 4 additions and 1 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -277,6 +277,9 @@ public class DisassemblyViewer extends SourceViewer {
|
||||||
protected void updateViewportListeners(int origin) {
|
protected void updateViewportListeners(int origin) {
|
||||||
fCachedLastTopPixel = fLastTopPixel;
|
fCachedLastTopPixel = fLastTopPixel;
|
||||||
fUserTriggeredScrolling = origin != INTERNAL && origin != RESIZE;
|
fUserTriggeredScrolling = origin != INTERNAL && origin != RESIZE;
|
||||||
|
if (origin == RESIZE) {
|
||||||
|
fLastTopPixel = -1;
|
||||||
|
}
|
||||||
super.updateViewportListeners(origin);
|
super.updateViewportListeners(origin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue