This commit is contained in:
Benjamin Pasero
2018-07-02 09:22:27 +02:00
committed by Benjamin Pasero
parent fd4bf73a03
commit cc2a16494c
2 changed files with 15 additions and 10 deletions

View File

@@ -27,14 +27,6 @@ export interface IView {
layout(width: number, height: number): void;
}
/*
TODO:
- NEW: add a color to show a border where the sash is, similar to how other
widgets have a color (e.g. Button, with applyStyles). Challenge is that this
color has to be applied via JS and not CSS to not apply it to all views
NOT CSS
*/
export function orthogonal(orientation: Orientation): Orientation {
return orientation === Orientation.VERTICAL ? Orientation.HORIZONTAL : Orientation.VERTICAL;
}