Fen Dweller
11cf6cbc47
Fix click detection in Firefox
Firefox won't draw SVGs to a canvas correctly without width/height
attributes (even if a viewBox is present). This commit inserts those
values where needed and removes the Firefox check from the click
detection code, so it works properly (and screenshots are fixed, too).
преди 5 години
Fen Dweller
c6c09a1afc
Check for ClipboardItem access
преди 5 години
Fen Dweller
14e87de264
Add a button to open a screenshot in a new tab
преди 5 години
Fen Dweller
1f83752a3e
Fix incorrect world height when not using metric and loading from a permalink
преди 5 години
Fen Dweller
cb5532ebd8
Fix ground rendering over entities when taking a screenshot
преди 5 години
Fen Dweller
047e89a3f4
Fix auto-fit/zoom working incorrectly with the y-axis locked
Entities positioned above the ground were going off the screen.
преди 5 години
Fen Dweller
88cdf76048
Fix the world height being set wrongly when loading scenes
преди 5 години
Fen Dweller
85839b0927
Allow 60 touchmove drags per second
преди 5 години
Fen Dweller
919efb6883
Improve the look of the settings menu
преди 5 години
Fen Dweller
3c2c09ea8d
Add an option for default units
преди 5 години
Fen Dweller
ed1763e6e2
Add a currentView property to entities
преди 5 години
Fen Dweller
f1dfd9a901
Remember unit choices for each entity
преди 5 години
Fen Dweller
a72b3f0c89
Improve drawing of the horizontal axis
преди 5 години
Fen Dweller
36b70fcdf2
Center the horiziontal axis
преди 5 години
Fen Dweller
cc2b375bc8
Fix horiziontal axis always using meters
преди 5 години
Fen Dweller
c5635ac723
Fix the horiziontal axes, as well as a bug with horiziontal pos2pix
преди 5 години
Fen Dweller
770a8661e5
Update sort-by-height to factor in width
преди 5 години
Fen Dweller
c2c29d8ae4
Allow entities to be flipped (not saved yet)
преди 5 години
Fen Dweller
493ac082a2
Draw the ground when taking screenshots
преди 5 години
Fen Dweller
0d00764f1c
Stop panning on middle mouse up, even if the mouse is out of the world
преди 5 години
Fen Dweller
e3cd13aaa7
Spawn entities in the center if the y-axis is unlocked
преди 5 години
Fen Dweller
7bd9cb7a56
Fix incorrect conversion from positions to pixels
There are probably still problems in the x-direection.
преди 5 години
Fen Dweller
baa645f5ec
Make the vertical scale scroll with movement
преди 5 години
Fen Dweller
94f44bf0bb
Make the ground move with the camera
преди 5 години
Fen Dweller
fd078ca29f
Zoom to the center when the y-axis is unlocked
преди 5 години
Fen Dweller
7f620d1556
Fix incorrect fitting behavior
The fit button now zooms to just one entity, and when many
entities are added at once, the camera fits to all of them.
преди 5 години
Fen Dweller
6bd10566e5
Disable horizontal scale by default
преди 5 години
Fen Dweller
4a0a83bf62
Fix the horizontal scale using your vertical position
преди 5 години
Fen Dweller
90da4840fe
Add a horizontal scale; fix breakages caused by disabling vertical scale
преди 5 години
Fen Dweller
2d198f27b8
Fix old behavior when auto-fitting on resize
преди 5 години
Fen Dweller
b5334c76cc
Fix things being dragged out of bounds on the first mousemove
The site wasn't checking if the entity started in bounds until after
one instance of movement.
преди 5 години
Fen Dweller
d843a33b32
Don't snap things back in-bounds if they've never been in-bounds yet
This way, if you slightly adjust where an object is, you won't need to hold
alt the whole time. This also makes pressing alt reset this behavior, so if you
hold alt, drag out of bounds, release alt, and then move, you won't be thrown back
in-bounds.
преди 5 години
Fen Dweller
0b64693640
Fix snapping to the ground; disable when y-axis is unlocked
преди 5 години
Fen Dweller
41dc4e7d2b
Spawn entities at the bottom-center of the screen, not the world origin
преди 5 години
Fen Dweller
14f0a09340
Fix entities losing transitions after being dragged
преди 5 години
Fen Dweller
819957b0c0
Fix a bug preventing dragging stuff off the top of the screen
преди 5 години
Fen Dweller
aaf8a169dd
Allow brightness to be set. Export order and brightness
преди 5 години
Fen Dweller
ccad30569a
Make autosize logic more consistent
Everything should be passing a list of entities to a function that
computes a bounding box and fits things now.
преди 5 години
Fen Dweller
37142c2db0
Fix an error when deleting a dragged entity
The viewer would try to call updateEntityElement, but the
entity would be deleted, causing an error.
преди 5 години
Fen Dweller
0ff40cb6b9
Hide the dropdown when picking 'no filter'
преди 5 години
Fen Dweller
4b20fac0c5
Remove old resizing code that was moving stuff around
преди 5 години
Fen Dweller
c060228760
Make panning look smoother
The movements occur more rapidly, and transitions are disabled
during the pan.
преди 5 години
Fen Dweller
9897131198
Fix the shrink button causing negative size
преди 5 години
Fen Dweller
0ab4911873
Correct the position for newly created entities
преди 5 години
Fen Dweller
ce756fef50
Add a setting to lock the y axis
преди 5 години
Fen Dweller
d05added58
Allow mobile dragging; fix wrong direction on scroll buttons
преди 5 години
Fen Dweller
58a57b6105
Make left/right scroll direction consistent
It was moving the entities left and right. Now, it moves
the camera left and right
преди 5 години
Fen Dweller
68ccb09f8f
Remove old scenes; fix display of all filtered entities
преди 5 години
Fen Dweller
0078af56eb
Disable filter options in addition to filtering them
Otherwise, whilst the option doesn't appear in the dropdown list,
it will still be selectable via the keyboard, causing an error.
преди 5 години
Fen Dweller
7e47fb2dd3
Make shift-scrolling movement proportional to world height
преди 5 години