make setFadeFoldWidgets on by default
This commit is contained in:
parent
09de46063d
commit
3b827c11ae
3 changed files with 12 additions and 0 deletions
|
|
@ -475,6 +475,9 @@ bindCheckbox("enable_behaviours", function(checked) {
|
|||
env.editor.setBehavioursEnabled(checked);
|
||||
});
|
||||
|
||||
bindCheckbox("fade_fold_widgets", function(checked) {
|
||||
env.editor.setFadeFoldWidgets(checked);
|
||||
});
|
||||
|
||||
var secondSession = null;
|
||||
bindDropdown("split", function(value) {
|
||||
|
|
|
|||
|
|
@ -200,6 +200,14 @@
|
|||
<input type="checkbox" id="enable_behaviours">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td >
|
||||
<label for="fade_fold_widgets">Fade Fold Widgets</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" id="fade_fold_widgets" checked>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="editor">
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
|
||||
this.$gutterLayer = new GutterLayer(this.$gutter);
|
||||
this.$gutterLayer.on("changeGutterWidth", this.onResize.bind(this, true));
|
||||
this.setFadeFoldWidgets(true);
|
||||
|
||||
this.$markerBack = new MarkerLayer(this.content);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue