Merge pull request #15953 from SandPoot/fix-pen-tablet

Fixes the tablet pen buttons
This commit is contained in:
silicons
2023-01-29 13:42:29 -08:00
committed by GitHub
2 changed files with 18 additions and 4 deletions
+3 -3
View File
@@ -28,7 +28,7 @@ export const NtosWindow = (props, context) => {
PC_stationtime,
PC_programheaders = [],
PC_showexitprogram,
PC_showpeneject,
TABLET_show_pen_eject,
} = data;
return (
<Window
@@ -79,7 +79,7 @@ export const NtosWindow = (props, context) => {
src={resolveAsset(PC_apclinkicon)} />
</Box>
)}
{!!PC_showpeneject && (
{!!TABLET_show_pen_eject && (
<Button
width="26px"
lineHeight="22px"
@@ -88,7 +88,7 @@ export const NtosWindow = (props, context) => {
icon="pen-alt"
tooltip="Eject pen"
tooltipPosition="bottom-end"
onClick={() => act('eject_pen')} />
onClick={() => act('TABLET_eject_pen')} />
)}
{!!PC_showexitprogram && (
<Button