Merge pull request #14816 from SandPoot/tablet-pen-slot
Adds a pen slot for tablet computers
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user