diff options
author | Juan Pablo Ugarte <ugarte@endlessm.com> | 2018-01-09 14:26:48 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <ugarte@endlessm.com> | 2018-01-15 16:17:11 -0300 |
commit | 0affb0b6002c8d9a758ac6d7451dcd2da30ac1f6 (patch) | |
tree | 12a168ca0a18ab51cee47a74838bb666d16172e7 /data | |
parent | 06bb46430f71fe89d63c0e57cd733a448b07c695 (diff) |
EosWindow: add in-resize css class
Add class while window is being resized to change image scaling method in CSS
This would speed up resizing windows with background images.
https://phabricator.endlessm.com/T20677
Diffstat (limited to 'data')
-rw-r--r-- | data/css/endless-widgets.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/css/endless-widgets.css b/data/css/endless-widgets.css index 40a3992..e1c8c41 100644 --- a/data/css/endless-widgets.css +++ b/data/css/endless-widgets.css @@ -20,6 +20,10 @@ EosWindow { background-color: @endless_theme_bg_color; } +EosWindow.in-resize { + -eos-cairo-filter: -eos-nearest; +} + .window-frame { border-color: darker(@endless_theme_bg_color); border-radius: 7px 7px 0 0; |