mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 03:23:48 +01:00
add border
This commit is contained in:
parent
40d505d754
commit
9f49bb7b8c
@ -12,8 +12,12 @@ const downloadGCode = gcode => {
|
||||
|
||||
const jsonLoader = new THREE.JSONLoader();
|
||||
jsonLoader.load(fileURL, geometry => {
|
||||
render(<Interface
|
||||
geometry={geometry}
|
||||
onCompleteActions={[{ title: 'Download', callback: downloadGCode }]}
|
||||
/>, document.getElementById('app'));
|
||||
render((
|
||||
<div style={{ position: 'absolute', border: '1px solid black' }}>
|
||||
<Interface
|
||||
geometry={geometry}
|
||||
onCompleteActions={[{ title: 'Download', callback: downloadGCode }]}
|
||||
/>
|
||||
</div>
|
||||
), document.getElementById('app'));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user