mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
[DevFiles]Update Monaco dependency to 0.47, new sticky scroll setting (#32410)
* Update Monaco dependency to 0.47 * Add setting to enable/disable it and add Peek support * Fix Xaml styling
This commit is contained in:
committed by
GitHub
parent
af5293cfb4
commit
05249ac432
@@ -15,6 +15,8 @@
|
||||
var wrap = ([[PT_WRAP]] == 1) ? true : false;
|
||||
|
||||
var base64code = "[[PT_CODE]]";
|
||||
|
||||
var stickyScroll = ([[PT_STICKY_SCROLL]] == 1) ? true : false;
|
||||
|
||||
// Code taken from https://stackoverflow.com/a/30106551/14774889
|
||||
var code = decodeURIComponent(atob(base64code).split('').map(function(c) {
|
||||
@@ -77,6 +79,7 @@
|
||||
horizontal: 'auto',
|
||||
|
||||
},
|
||||
stickyScroll: {enabled: stickyScroll},
|
||||
wordWrap: (wrap?"on":"off") // Word wraps
|
||||
});
|
||||
window.onresize = function (){
|
||||
|
||||
Reference in New Issue
Block a user