forked from baron/baron-sso
조직도 줌 레벨 상향
This commit is contained in:
@@ -345,7 +345,8 @@ describe("org chart layout", () => {
|
||||
|
||||
it("keeps zoom limits wide enough for large SVG organization charts", () => {
|
||||
expect(clampScale(0.08)).toBe(0.08);
|
||||
expect(clampScale(5)).toBe(5);
|
||||
expect(clampScale(32)).toBe(32);
|
||||
expect(clampScale(64)).toBe(32);
|
||||
});
|
||||
|
||||
it("switches semantic zoom modes from overview to detail", () => {
|
||||
|
||||
@@ -107,7 +107,7 @@ const WIDE_ASPECT_RATIO = MAX_TARGET_ASPECT_RATIO;
|
||||
const TALL_ASPECT_RATIO = 0.5;
|
||||
const CHART_MARGIN = 72;
|
||||
const MIN_SCALE = 0.08;
|
||||
const MAX_SCALE = 5;
|
||||
const MAX_SCALE = 32;
|
||||
const ZOOM_SENSITIVITY = 0.0015;
|
||||
const FAMILY_FILTER_ID = "hanmac-family";
|
||||
const DEFAULT_LAYOUT_OPTIONS: OrgChartLayoutOptions = {
|
||||
|
||||
Reference in New Issue
Block a user