mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Change window focus on mouse down
This commit is contained in:
parent
ede5dda2fe
commit
118646a484
3 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ const EqualizerWindow = props => {
|
|||
<div
|
||||
id="equalizer-window"
|
||||
className={className}
|
||||
onClick={props.focusWindow}
|
||||
onMouseDown={props.focusWindow}
|
||||
>
|
||||
{props.shade ? (
|
||||
<div className="draggable">
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ exports[`MainWindow renders to snapshot 1`] = `
|
|||
<div
|
||||
className="window stop selected draggable loading"
|
||||
id="main-window"
|
||||
onClick={[Function]}
|
||||
onDragEnter={[Function]}
|
||||
onDragOver={[Function]}
|
||||
onDrop={[Function]}
|
||||
onMouseDown={[Function]}
|
||||
>
|
||||
<div
|
||||
className="selected title-bard draggable"
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export class MainWindow extends React.Component {
|
|||
<div
|
||||
id="main-window"
|
||||
className={className}
|
||||
onClick={this.handleClick}
|
||||
onMouseDown={this.handleClick}
|
||||
onDragEnter={this.supress}
|
||||
onDragOver={this.supress}
|
||||
onDrop={this.handleDrop}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue