Merge pull request #15953 from SandPoot/fix-pen-tablet
Fixes the tablet pen buttons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user