@@ -114,7 +114,8 @@ export default class App extends React.Component<any, AppState> {
114114 < Linear { ...linearProps } { ...props } />
115115 </ div >
116116 ) ;
117- } else if ( this . state . viewer === "circular" ) {
117+ }
118+ else if ( this . state . viewer === "circular" ) {
118119 return (
119120 < div ref = { this . circularRef } style = { { height : "100%" , width : "100%" } } >
120121 < Circular { ...circularProps } { ...props } />
@@ -123,21 +124,21 @@ export default class App extends React.Component<any, AppState> {
123124 } else if ( this . state . viewer === "both" ) {
124125 return (
125126 < div style = { { display : "flex" , flexDirection : "row" , height : "100%" , width : "100%" } } >
126- < div ref = { this . circularRef } style = { { height : "100%" , width : "70 %" } } >
127+ < div ref = { this . circularRef } style = { { height : "100%" , width : "50 %" } } >
127128 < Circular { ...circularProps } { ...props } />
128129 </ div >
129- < div ref = { this . linearRef } style = { { height : "100%" , width : "30 %" } } >
130+ < div ref = { this . linearRef } style = { { height : "100%" , width : "50 %" } } >
130131 < Linear { ...linearProps } { ...props } />
131132 </ div >
132133 </ div >
133134 ) ;
134135 } else if ( this . state . viewer === "both_flip" ) {
135136 return (
136137 < div style = { { display : "flex" , flexDirection : "row" , height : "100%" , width : "100%" } } >
137- < div ref = { this . linearRef } style = { { height : "100%" , width : "30 %" } } >
138+ < div ref = { this . linearRef } style = { { height : "100%" , width : "50 %" } } >
138139 < Linear { ...linearProps } { ...props } />
139140 </ div >
140- < div ref = { this . circularRef } style = { { height : "100%" , width : "70 %" } } >
141+ < div ref = { this . circularRef } style = { { height : "100%" , width : "50 %" } } >
141142 < Circular { ...circularProps } { ...props } />
142143 </ div >
143144 </ div >
@@ -228,7 +229,7 @@ export default class App extends React.Component<any, AppState> {
228229 showComplement = { this . state . showComplement }
229230 showIndex = { this . state . showIndex }
230231 translations = { this . state . translations }
231- viewer = { this . state . viewer as "linear" | "circular" }
232+ viewer = { this . state . viewer as "linear" | "linear_one_row" | " circular"}
232233 zoom = { { linear : this . state . zoom } }
233234 onSelection = { selection => this . setState ( { selection } ) }
234235 >
0 commit comments