|
|
@@ -2,8 +2,6 @@ import * as React from 'react';
|
|
|
import { remote } from 'electron';
|
|
|
import './Frame.css';
|
|
|
|
|
|
-require('./Frame.css')
|
|
|
-
|
|
|
function closeHandler() {
|
|
|
const window = remote.getCurrentWindow();
|
|
|
window.close();
|
|
|
@@ -48,10 +46,10 @@ const Frame = () => (
|
|
|
<svg name="TitleBarMinimize" width="10" height="10" viewBox="0 0 12 12"><rect stroke="#ffffff" fill="#ffffff" width="10" height="1" x="1" y="6"></rect></svg>
|
|
|
</button>
|
|
|
<button className="frameButton" onClick={restoreDownHandler} id="frameButton_restoredown" tabIndex={-1}>
|
|
|
- <svg name="TitleBarMaximize" width="10" height="10" viewBox="0 0 12 12"><rect width="9" height="9" x="1.5" y="1.5" fill="none" stroke="#ffffff" stroke-width="1.4px"></rect></svg>
|
|
|
+ <svg name="TitleBarMaximize" width="10" height="10" viewBox="0 0 12 12"><rect width="9" height="9" x="1.5" y="1.5" fill="none" stroke="#ffffff" strokeWidth="1.4px"></rect></svg>
|
|
|
</button>
|
|
|
<button className="frameButton" onClick={closeHandler} id="frameButton_close" tabIndex={-1}>
|
|
|
- <svg name="TitleBarClose" width="10" height="10" viewBox="0 0 12 12"><polygon stroke="#ffffff" fill="#ffffff" fill-rule="evenodd" points="11 1.576 6.583 6 11 10.424 10.424 11 6 6.583 1.576 11 1 10.424 5.417 6 1 1.576 1.576 1 6 5.417 10.424 1"></polygon></svg>
|
|
|
+ <svg name="TitleBarClose" width="10" height="10" viewBox="0 0 12 12"><polygon stroke="#ffffff" fill="#ffffff" fillRule="evenodd" points="11 1.576 6.583 6 11 10.424 10.424 11 6 6.583 1.576 11 1 10.424 5.417 6 1 1.576 1.576 1 6 5.417 10.424 1"></polygon></svg>
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|