Skip to content
Snippets Groups Projects
Commit 3fa42a69 authored by David Sehnal's avatar David Sehnal
Browse files

mol-plugin: stack viewport icons vertically

parent a6c82227
No related branches found
No related tags found
No related merge requests found
...@@ -71,10 +71,10 @@ export class ViewportControls extends PluginUIComponent { ...@@ -71,10 +71,10 @@ export class ViewportControls extends PluginUIComponent {
// TODO: show some icons dimmed etc.. // TODO: show some icons dimmed etc..
return <div className={'msp-viewport-controls'}> return <div className={'msp-viewport-controls'}>
<div className='msp-viewport-controls-buttons'> <div className='msp-viewport-controls-buttons'>
{this.icon('tools', this.toggleControls, 'Toggle Controls', this.plugin.layout.state.showControls)} {this.icon('reset-scene', this.resetCamera, 'Reset Camera')}<br/>
{this.icon('settings', this.toggleSettingsExpanded, 'Settings', this.state.isSettingsExpanded)}<br/>
{this.icon('tools', this.toggleControls, 'Toggle Controls', this.plugin.layout.state.showControls)}<br/>
{this.icon('expand-layout', this.toggleExpanded, 'Toggle Expanded', this.plugin.layout.state.isExpanded)} {this.icon('expand-layout', this.toggleExpanded, 'Toggle Expanded', this.plugin.layout.state.isExpanded)}
{this.icon('settings', this.toggleSettingsExpanded, 'Settings', this.state.isSettingsExpanded)}
{this.icon('reset-scene', this.resetCamera, 'Reset Camera')}
</div> </div>
{this.state.isSettingsExpanded && {this.state.isSettingsExpanded &&
<div className='msp-viewport-controls-scene-options'> <div className='msp-viewport-controls-scene-options'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment