mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Platform: do not reset tool window's size to the default when project reload is triggered during project opening (OC-3716)
This commit is contained in:
@@ -2069,6 +2069,8 @@ public final class ToolWindowManagerImpl extends ToolWindowManagerEx implements
|
||||
* tool window depending on decoration type.
|
||||
*/
|
||||
public void resized(final InternalDecorator source) {
|
||||
if (!source.isShowing()) return; // do not recalculate the tool window size if it is not yet shown (and, therefore, has 0,0,0,0 bounds)
|
||||
|
||||
final WindowInfoImpl info = getInfo(source.getToolWindow().getId());
|
||||
if (info.isFloating()) {
|
||||
final Window owner = SwingUtilities.getWindowAncestor(source);
|
||||
|
||||
Reference in New Issue
Block a user