Merge pull request #14816 from SandPoot/tablet-pen-slot

Adds a pen slot for tablet computers
This commit is contained in:
silicons
2021-06-13 15:16:37 -07:00
committed by GitHub
4 changed files with 83 additions and 1 deletions
+12
View File
@@ -28,6 +28,7 @@ export const NtosWindow = (props, context) => {
PC_stationtime,
PC_programheaders = [],
PC_showexitprogram,
PC_showpeneject,
} = data;
return (
<Window
@@ -78,6 +79,17 @@ export const NtosWindow = (props, context) => {
src={resolveAsset(PC_apclinkicon)} />
</Box>
)}
{!!PC_showpeneject && (
<Button
width="26px"
lineHeight="22px"
textAlign="center"
color="transparent"
icon="pen-alt"
tooltip="Eject pen"
tooltipPosition="bottom-left"
onClick={() => act('eject_pen')} />
)}
{!!PC_showexitprogram && (
<Button
width="26px"