Skip to content

Conversation

@mwcampbell
Copy link
Contributor

This drops the ScrollBackward and ScrollForward actions, leaving only the actions for left, right, up, and down. It also adds a ScrollUnit enum for specifying whether to scroll by an item/line or a full page.

Copy link
Member

@DataTriny DataTriny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment regarding Python support.

#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "schemars", derive(JsonSchema))]
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
#[repr(C)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add the pyclass attribute to this enum.

@DataTriny DataTriny merged commit fad11a1 into main Jun 13, 2025
16 checks passed
@DataTriny DataTriny deleted the scroll-actions-refactor branch June 13, 2025 14:03
@DataTriny DataTriny mentioned this pull request Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants