Commit Graph

13 Commits (e74e013f4396dac6d33e57e6b3bc132ca0da48f2)

Author SHA1 Message Date
Michail Vourlakos 7672202b4c decrease Blur area update interval
--was changed to 60Hz from 20Hz and also
the first call is immediately draw and then
the timer in triggered in order to block all
other calls. Hopefully this will be enough
for smooth moving blurring areas.

BUG:422209
5 years ago
Michail Vourlakos dde2b0b10e do not apply Plasma popups coloring if not enabled 5 years ago
Michail Vourlakos 8bfc71fd3e remove magical (+/-1 px) from calculations
--implementation is much more concrete now and we
need to be 1px precise in order to provide good
snapping and dodge visibility modes correctly
--in upcoming commit the view is touched property
will mean without window is touching the view edge.
For view edges touching there will be a different
variable that can be used from containment and
applets.
5 years ago
Michail Vourlakos 677caab132 introduce a background.minThickness
--plasma themes because of their svg nature can
have a minimum padding under which they are not
drawn correctly. In such cases background shadows
overlap and background internal drawing overlaps
in the center. That property protects from
such case by introducing a minimum background
thickness at all cases. Good example of the issue
is observed in behaveAsPlasmaPanel(s) that are
floating and have very good round corners.
5 years ago
Michail Vourlakos da571bdc32 improve background computations for 100% 5 years ago
Michail Vourlakos 5b13bc421f improve background calculations a bit 5 years ago
Michail Vourlakos c8164597bb fix LayeredBackground calculations 5 years ago
Michail Vourlakos 57fd073e3f improve Blur responsiveness
--Blur area is not updated instantly any more
and does not make too many unnecesary calls.
A timer was added to orchestrate this in order
for the Effects area to be updated at maximum
20times/sec.
--Dont animate the view container at all cases, that
creates a much smoother experience for the user in
editing mode
5 years ago
Michail Vourlakos f715c5bbd5 various fixes for backgroud/items offsets 5 years ago
Michail Vourlakos dd4e4fb79d rename all Background.MultiLayer values
--much better and understandable names are now used
5 years ago
Michail Vourlakos 0539db1a09 rename more values of Background.MultiLayered 5 years ago
Michail Vourlakos 545249404e rename values in Background.MultiLayered 5 years ago
Michail Vourlakos bc441af941 rename PanelBox to Background.MultiLayered
--much better name and also describes how Background
really works and draws its content
5 years ago