mirror of
https://github.com/FranP-code/wintile.git
synced 2025-10-13 00:33:46 +00:00
reduce minimum delay to 25ms
This commit is contained in:
@@ -634,7 +634,7 @@ function windowGrabBegin(meta_display, meta_screen, meta_window, meta_grab_op, g
|
||||
}
|
||||
if (meta_window.resizeable && config.preview.enabled) {
|
||||
app.origFrameRect = app.get_frame_rect();
|
||||
Mainloop.timeout_add(500, function () {
|
||||
Mainloop.timeout_add(config.preview.delay, function () {
|
||||
checkIfNearGrid(app);
|
||||
});
|
||||
}
|
||||
|
||||
2
prefs.js
2
prefs.js
@@ -162,7 +162,7 @@ function buildPrefsWidget() {
|
||||
visible: true
|
||||
});
|
||||
let previewDelayAdjustment = new Gtk.Adjustment({
|
||||
lower: 100,
|
||||
lower: 25,
|
||||
upper: 1000,
|
||||
step_increment: 1
|
||||
});
|
||||
|
||||
Binary file not shown.
@@ -32,7 +32,7 @@
|
||||
<default>500</default>
|
||||
<summary>Delay in ms before preview dislpays</summary>
|
||||
<description></description>
|
||||
<range min="100" max="1000"/>
|
||||
<range min="25" max="1000"/>
|
||||
</key>
|
||||
<key name="debug" type="b">
|
||||
<default>false</default>
|
||||
|
||||
Reference in New Issue
Block a user