Bug 467731 - Expose key="Ofst" ASL parameter of gradient overlay layer style to editor
Summary: Expose key="Ofst" ASL parameter of gradient overlay layer style to editor
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: layer styles (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-23 20:59 UTC by varkatope
Modified: 2023-03-23 20:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description varkatope 2023-03-23 20:59:58 UTC
SUMMARY
 Version: 5.2.0-prealpha (git a39b4d5)

SUMMARY
There's no option to edit the following gradient overlay ASL in the layer styles editor:

   <node type="Descriptor" name="" classId="Pnt " key="Ofst">
    <node type="UnitFloat" unit="#Prc" value="0" key="Hrzn"/>
    <node type="UnitFloat" unit="#Prc" value="0" key="Vrtc"/>
   </node>

This doesn't really work properly with wrap-around mode, but it could still be useful within the image bounds. I can set it through code, but it would be nice for the built-in layer style editor to have as well. It would be even nicer if it also worked correctly with wrap-around mode (instead of cutting off at the single image bounds), of course.