|
|
|
@ -38,9 +38,9 @@ class VNCContainer extends Component {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
shouldComponentUpdate () {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
// shouldComponentUpdate () {
|
|
|
|
|
// return false;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
getSecondDrawerWidth = () => {
|
|
|
|
|
return $('#game_right_contents').width() - firstDrawerWidth
|
|
|
|
@ -337,11 +337,11 @@ class VNCContainer extends Component {
|
|
|
|
|
width={firstDrawerWidth}
|
|
|
|
|
closable={false}
|
|
|
|
|
onClose={this.onBottomDrawerClose}
|
|
|
|
|
visible={this.state.bottomDrawer}
|
|
|
|
|
visible={this.state.bottomDrawer===undefined?false:this.state.bottomDrawer}
|
|
|
|
|
className={'codeEvaluateDrawer'}
|
|
|
|
|
placement="bottom"
|
|
|
|
|
getContainer={false}
|
|
|
|
|
style={{ position: 'absolute', bottom: '25px', zIndex: 1 }}
|
|
|
|
|
style={{ position: 'absolute', bottom: '-25px', zIndex: 1 }}
|
|
|
|
|
afterVisibleChange={(visible) => {
|
|
|
|
|
if (visible) {
|
|
|
|
|
const canvas = $('.vncDisply canvas')[0]
|
|
|
|
|