Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Fix the column calculation error#871

Open
gafish wants to merge 1 commit intobokuweb:masterfrom
gafish:fix/column
Open

Fix the column calculation error#871
gafish wants to merge 1 commit intobokuweb:masterfrom
gafish:fix/column

Conversation

Copy link

gafish commented Aug 8, 2025

Yi Xia Shi Lai Zi Guan Fang De Shi Li Dai Ma ,Dang She Zhi gridGapDa Yu 24Shi ,Tuo Dong Hou Kuan Du Ji Suan Hui Chu Xian Yi Chang ,Ben Ci PRZuo Liao Ru Xia Xiu Fu :

The following is the sample code from the official source. When the gridGap is set to be greater than 24, an exception occurs in the width calculation after dragging. This PR has made the following fixes:

// const v = Math.round(n / size);
const v = Math.round(n / (size + gridGap));

{ console.log(a); }} > 001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant