Skip to content

Conversation

Jeangowhy
Copy link
Contributor

Automatically focus a pane when View.on_hover event.

if you want to activate a pane when mouse on hover event, set auto_focus_on_hover to true in the Origami preferences.

default setting:
"auto_focus_on_hover": false,

Jeangowhy and others added 24 commits September 11, 2023 10:14
upgrade  zoom_pane(self, auto_zoom) to support auto zoom in X and Y direction,Origami settings update:

  // Automatically zoom the active pane.
    // Set it to `true` for the default zoom, or to a user-definable
    // fraction of the screen, such as "0.75" or [0.5, 0.7].
    "auto_zoom_on_focus": [0.55, 0.75],
upgrade zoom_pane(self, auto_zoom) to support auto zoom in X and Y direction,Origami settings update:

// Automatically zoom the active pane.
// Set it to true for the default zoom, or to a user-definable
// fraction of the screen, such as "0.75" or [0.5, 0.7].
"auto_zoom_on_focus": [0.55, 0.75],
You can have Origami automatically zoom the active pane by setting `auto_zoom_on_focus` in your Origami user preferences. Set it to `true` for the default zoom, or set it to a user-definable fraction of the screen, such as `0.75`, or `[0.5, 0.6]` for horitontal and vertical correspondingly.
if you want to activate a pane when mouse on hover event, set `auto_focus_on_hover` to true in the Origami preferences.
…mouse on hover event, set `auto_focus_on_hover` to true in the Origami preferences.
Co-authored-by: Rafał Chłodnicki <[email protected]>
Co-authored-by: Rafał Chłodnicki <[email protected]>
…ocus_on_hover` to true in the Origami preferences.
@rchl
Copy link
Member

rchl commented Sep 20, 2023

That doesn't seem like a feature that is necessarily related to this package. It can live in a completely separate plugin or package.

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.

2 participants