mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Fixed an issue where Zoom to fit button only works if the diagram is larger than the canvas. Fixes #6163
2) Ensure that the diagram should not vanish entirely if zooming out too far in ERD. Fixes #6164 3) Fixed an issue where Generate SQL displayed twice in the ERD tool. Fixes #6179 4) Updated missing documentation for the 'Download Image' option in ERD. Fixes #6180
This commit is contained in:
committed by
Akshay Joshi
parent
36f76f5e2c
commit
48e257e5af
@@ -37,7 +37,7 @@ describe('ERDCore', ()=>{
|
||||
'registerListener': null,
|
||||
}),
|
||||
'repaintCanvas': null,
|
||||
'zoomToFit': null,
|
||||
'zoomToFitNodes': null,
|
||||
'fireEvent': null,
|
||||
});
|
||||
|
||||
@@ -352,7 +352,7 @@ describe('ERDCore', ()=>{
|
||||
|
||||
it('zoomToFit', ()=>{
|
||||
erdCoreObj.zoomToFit();
|
||||
expect(erdEngine.zoomToFit).toHaveBeenCalled();
|
||||
expect(erdEngine.zoomToFitNodes).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('fireAction', ()=>{
|
||||
|
||||
Reference in New Issue
Block a user