mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +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();
|
const jsonLoader = new THREE.JSONLoader();
|
||||||
jsonLoader.load(fileURL, geometry => {
|
jsonLoader.load(fileURL, geometry => {
|
||||||
render(<Interface
|
render((
|
||||||
geometry={geometry}
|
<div style={{ position: 'absolute', border: '1px solid black' }}>
|
||||||
onCompleteActions={[{ title: 'Download', callback: downloadGCode }]}
|
<Interface
|
||||||
/>, document.getElementById('app'));
|
geometry={geometry}
|
||||||
|
onCompleteActions={[{ title: 'Download', callback: downloadGCode }]}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
), document.getElementById('app'));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user