Skip to content

Commit

Permalink
$mol_textarea: clickable when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Nov 13, 2023
1 parent f41667f commit 85dad7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions textarea/textarea.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ namespace $.$$ {

}

@ $mol_mem
clickable( next?: boolean ) {
if( !this.enabled() ) return true
return next ?? false
}

hover( event : PointerEvent ) {
this.clickable( event.ctrlKey )
}
Expand Down

0 comments on commit 85dad7f

Please sign in to comment.