mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Fix some buttons
This commit is contained in:
parent
72cfbe9062
commit
dd10d490f0
@ -79,8 +79,8 @@ export const DiskII = ({ disk2, number, on, name, side }: DiskIIProps) => {
|
|||||||
<FileModal disk2={disk2} number={number} onClose={doClose} isOpen={modalOpen} />
|
<FileModal disk2={disk2} number={number} onClose={doClose} isOpen={modalOpen} />
|
||||||
<ErrorModal error={error} setError={setError} />
|
<ErrorModal error={error} setError={setError} />
|
||||||
<div className={cs(styles.diskLight, { [styles.on]: on })} />
|
<div className={cs(styles.diskLight, { [styles.on]: on })} />
|
||||||
<button title="Load Disk">
|
<button title="Load Disk" onClick={onOpenModal}>
|
||||||
<i className="fas fa-folder-open" onClick={onOpenModal} />
|
<i className="fas fa-folder-open" />
|
||||||
</button>
|
</button>
|
||||||
<div className={styles.diskLabel}>
|
<div className={styles.diskLabel}>
|
||||||
{label}
|
{label}
|
||||||
|
@ -106,7 +106,7 @@ export const FileModal = ({ disk2, number, onClose, isOpen }: FileModalProps) =>
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Modal title="Open File" isOpen={isOpen}>
|
<Modal title="Open File" isOpen={isOpen} onClose={onClose}>
|
||||||
<ModalContent>
|
<ModalContent>
|
||||||
<div className={styles.loadModal}>
|
<div className={styles.loadModal}>
|
||||||
<select multiple onChange={doSelectCategory}>
|
<select multiple onChange={doSelectCategory}>
|
||||||
|
Loading…
Reference in New Issue
Block a user