Skip to content

Commit cb70d12

Browse files
skoloCFDfinetjul
authored andcommitted
feat: scalarBar setOrientation, consistent ordering of options: horiz,vert,auto
scalarBar setOrientation, consistent ordering of options: horiz,vert,auto #3349
1 parent 4792bac commit cb70d12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Rendering/Core/ScalarBarActor/Constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const Orientation = {
2-
VERTICAL: 'vertical',
32
HORIZONTAL: 'horizontal',
3+
VERTICAL: 'vertical',
44
AUTO: 'auto',
55
};
66

Sources/Rendering/Core/ScalarBarActor/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface IStyle {
2222
fontSize?: number | string;
2323
}
2424

25-
export type Orientation = 'horizontal' | 'vertical' | null;
25+
export type Orientation = 'horizontal' | 'vertical' | 'auto' | null;
2626

2727
/**
2828
*

0 commit comments

Comments
 (0)