clean
This commit is contained in:
parent
d22fe9e10f
commit
1347268cb3
2 changed files with 15 additions and 21 deletions
24
CHANGELOG.md
24
CHANGELOG.md
|
|
@ -1,16 +1,20 @@
|
|||
# Changelog
|
||||
|
||||
## next
|
||||
## 0.4.0
|
||||
|
||||
- electron 0.37 (chrome 49)
|
||||
- tab system rewritten : inactive tabs are detached from the DOM tree, thus improving performances.
|
||||
- logarithmic scaling (log10) support added to knob, fader & xy
|
||||
- mousewheel support added to knob and fader (ctrlKey for fine control)
|
||||
- new widgets : plot & visualizer
|
||||
- traversing gestures switch in sidepanel
|
||||
- widget categories in editor's context menu
|
||||
- sync/link event handling improved
|
||||
- many small optimizations...
|
||||
- engine
|
||||
- electron 0.37.2 (chrome 49)
|
||||
- ui
|
||||
- tab system rewritten : inactive tabs are detached from the DOM tree, thus improving performances.
|
||||
- widget categories in editor's context menu
|
||||
- features
|
||||
- logarithmic scaling (log10) support added to knob, fader & xy
|
||||
- mousewheel support added to knob and fader (ctrlKey for fine control)
|
||||
- new widgets : plot & visualizer
|
||||
- traversing gestures switch in sidepanel
|
||||
- misc
|
||||
- sync/link event handling improved
|
||||
- **new state save file format, no backward compatibility**
|
||||
|
||||
## 0.3.1
|
||||
|
||||
|
|
|
|||
|
|
@ -187,18 +187,8 @@ module.exports.create = function(widgetData,container) {
|
|||
var r = mapToScale(v,[range.min,range.max],[0,270],widgetData.precision,widgetData.logScale,true)
|
||||
knob.rotation = r
|
||||
|
||||
widget.updateUi(r)
|
||||
|
||||
|
||||
if (pan && r<135) {mask.removeClass('pan-right').addClass('pan-left')}
|
||||
else if (pan) {mask.removeClass('pan-left').addClass('pan-right')}
|
||||
|
||||
if (r>180) {knob.addClass('d3')}
|
||||
else if (r>90) {knob.removeClass('d3').addClass('d2')}
|
||||
else {knob.removeClass('d3 d2')}
|
||||
|
||||
|
||||
knob[0].setAttribute('style','transform:rotateZ('+r+'deg)')
|
||||
handle[0].setAttribute('style','transform:rotateZ('+(r-45)+'deg)')
|
||||
var v = widget.getValue()
|
||||
|
||||
widget.showValue(v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue