Compare commits
1 commit
master
...
pdf_displa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8abfc90d87 |
4 changed files with 27712 additions and 2 deletions
27699
src/assets/editor/Undertale.pdf
Normal file
27699
src/assets/editor/Undertale.pdf
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -97,7 +97,7 @@ export default function Mines() {
|
|||
};
|
||||
|
||||
return (
|
||||
<PageContainer padding={0}>
|
||||
<PageContainer spacing={2}>
|
||||
<ResponsiveTable<MineRow>
|
||||
title={renderTitle}
|
||||
rows={mineTableData}
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ export default function Ventilation() {
|
|||
|
||||
return (
|
||||
// TODO: why does padding have to be -2 to fit the page?
|
||||
<PageContainer padding={-2}>
|
||||
<PageContainer >
|
||||
<div style={{ height: "100%", overflow: "hidden" }}>
|
||||
<EditorHeader
|
||||
setMode={setMode}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ import { Sensor } from "./drawable/Sensor";
|
|||
import { VentTBreak } from "./drawable/VentTBreak";
|
||||
import InteractionSettings from "interactions/InteractionSettings";
|
||||
import { UnitMeasurement } from "models/UnitMeasurement";
|
||||
// import { UndertalePDF } from "assets/editor/Undertale"
|
||||
import Undertale from "assets/editor/Undertale.pdf";
|
||||
|
||||
|
||||
interface Props {
|
||||
width?: number;
|
||||
|
|
@ -652,6 +655,14 @@ export default function Editor(props: Props) {
|
|||
<InfoRounded />
|
||||
</ToggleButton>
|
||||
</div>
|
||||
<div style={{position: "absolute", zIndex: -1}}>
|
||||
<object
|
||||
width={"100%"}
|
||||
height={400}
|
||||
data={Undertale}
|
||||
type="application/pdf"
|
||||
/>
|
||||
</div>
|
||||
<Canvas
|
||||
draw={draw}
|
||||
height={height}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue