mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-252805 Can not resize variables in debug tool window
GitOrigin-RevId: a590641e3ee5d46d2ca94e9e5dc8a8474a1bdfab
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1c56f6717c
commit
337f0a55c8
@@ -857,20 +857,20 @@ public class ThreeComponentsSplitter extends JPanel implements Disposable {
|
||||
if (getOrientation()) {
|
||||
if (size > 0 || myDividerZone > 0) {
|
||||
if (myIsFirst) {
|
||||
setFirstSize(clamp(myPoint.y, size, myFirstComponent, myLastSize));
|
||||
setFirstSize(clamp(myPoint.y, size, myFirstComponent, getLastSize()));
|
||||
}
|
||||
else {
|
||||
setLastSize(clamp(size - myPoint.y - getDividerWidth(), size, myLastComponent, myFirstSize));
|
||||
setLastSize(clamp(size - myPoint.y - getDividerWidth(), size, myLastComponent, getFirstSize()));
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (size > 0 || myDividerZone > 0) {
|
||||
if (myIsFirst) {
|
||||
setFirstSize(clamp(myPoint.x, size, myFirstComponent, myLastSize));
|
||||
setFirstSize(clamp(myPoint.x, size, myFirstComponent, getLastSize()));
|
||||
}
|
||||
else {
|
||||
setLastSize(clamp(size - myPoint.x - getDividerWidth(), size, myLastComponent, myFirstSize));
|
||||
setLastSize(clamp(size - myPoint.x - getDividerWidth(), size, myLastComponent, getFirstSize()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user