Some components used by @zen-browser as an attempt to make firefox forks a better place (Archived and Privated on Nov 4 2024 - neccesarry for older Zen builds)
Find a file
Kristijan Ribarić b296405a45 Fix: Use integer positions for workspaces
This commit changes the `position` column in the `workspaces` table to be an `INTEGER` instead of a `REAL` data type. This change is made to ensure that workspace positions are always whole numbers, which prevents issues with floating-point precision and ensures consistent ordering of workspaces.

Additionally, it updates the logic for calculating new workspace positions to use `Math.floor` to round down to the nearest integer, ensuring that positions are always integers.

This change also adjusts the `minGap` constant used in the `shouldReorderWorkspaces` function to `1`, which reflects the minimum allowed gap between workspace positions now that they are integers.
2024-10-09 19:49:45 +02:00
src Fix: Use integer positions for workspaces 2024-10-09 19:49:45 +02:00
.gitattributes refactor: Update ZenKeyboardShortcuts to include split view and workspace actions 2024-08-11 13:37:44 +02:00
.gitignore Initial commit 2024-08-05 19:01:01 +02:00
COPYRIGHT Create COPYRIGHT 2024-08-22 12:51:38 +08:00
LICENSE Update LICENSE: Add full CC-BY-SA 4.0 text 2024-08-22 12:50:44 +08:00
README.md Update README.md 2024-08-30 22:03:12 +01:00
zen-alpha-tangerine.svg Add files via upload 2024-08-30 22:01:37 +01:00

Components

Some components used by @zen-browser as an attempt to make firefox forks a better place

License

Zen Core Components © 2024 by Zen's Team is licensed under CC BY-SA 4.0