mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 09:24:42 -04:00
fixed a scrollbar init error
This commit is contained in:
parent
2b4dee3e93
commit
3a26222815
@ -1558,6 +1558,8 @@ public class CircuitComponent extends JComponent implements ChangedListener, Lib
|
||||
*/
|
||||
public void setCircuitScrollPanel(CircuitScrollPanel circuitScrollPanel) {
|
||||
this.circuitScrollPanel = circuitScrollPanel;
|
||||
if (circuitScrollPanel!=null)
|
||||
circuitScrollPanel.transformChanged(transform);
|
||||
}
|
||||
|
||||
private final class MouseControllerMoveElement extends MouseController {
|
||||
|
Loading…
x
Reference in New Issue
Block a user