mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
fix: Add width/height for the lines in charts (#2586)
Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
7c3e1d8d1b
commit
ce52c18382
@ -192,6 +192,7 @@ export const renderSpreadsheet = (
|
|||||||
y,
|
y,
|
||||||
startArrowhead: null,
|
startArrowhead: null,
|
||||||
endArrowhead: null,
|
endArrowhead: null,
|
||||||
|
width: chartWidth,
|
||||||
points: [
|
points: [
|
||||||
[0, 0],
|
[0, 0],
|
||||||
[chartWidth, 0],
|
[chartWidth, 0],
|
||||||
@ -205,6 +206,7 @@ export const renderSpreadsheet = (
|
|||||||
y,
|
y,
|
||||||
startArrowhead: null,
|
startArrowhead: null,
|
||||||
endArrowhead: null,
|
endArrowhead: null,
|
||||||
|
height: chartHeight,
|
||||||
points: [
|
points: [
|
||||||
[0, 0],
|
[0, 0],
|
||||||
[0, -chartHeight],
|
[0, -chartHeight],
|
||||||
@ -220,6 +222,7 @@ export const renderSpreadsheet = (
|
|||||||
endArrowhead: null,
|
endArrowhead: null,
|
||||||
...commonProps,
|
...commonProps,
|
||||||
strokeStyle: "dotted",
|
strokeStyle: "dotted",
|
||||||
|
width: chartWidth,
|
||||||
points: [
|
points: [
|
||||||
[0, 0],
|
[0, 0],
|
||||||
[chartWidth, 0],
|
[chartWidth, 0],
|
||||||
|
@ -26,6 +26,7 @@ Please add the latest change on the top under the correct section.
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
|
- Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586)
|
||||||
- Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
|
- Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
|
||||||
- Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
|
- Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user