• Home
  • Blog
  • C# / Unity
  • C++ / Unreal Engine
  • Python strategy games
  • Python arcade games
  • Python other
  • Machine Learning
  • C
  • Scratch
  • Coding and electronics
  • How I learnt to code
  • Project Euler
  • Feedback
  James L.'s coding

James's blog

what I've been doing.

Some more contributions to Graphite

6/8/2022

0 Comments

 
I have recently made several improvements to Graphite, a vector (drawing with shapes instead of pixels) editor written in rust and available at editor.graphite.design/
​

Features
  • Add font menu previews and virtual scrolling #650 - Expanding on some previous work to add a font dropdown, this allows users to see the name of the font in the font so they can see what the font looks like without clicking to select it
  • Add the File > Export dialog and PNG/JPG downloading #629 - Allows the svg to be exported to a bitmap file by displaying it onto a canvas.
  • https://github.com/GraphiteEditor/Graphite/pull/720 - JPEG exports have a white background and embedded bitmap images no longer use deprecated xlink:href attribute.
  • Snapping system improvements and refactor #621 -  Add snapping to points of a shape as well as the existing snapping to bounding boxes
  • Improvements to the layer transform cage UX #589 -  Right click to abort whilst still dragging - required changes to the input system. Also aspect ratio is preserved at the start of a drag.
  • Migrate dialogs to Rust and add a New File dialog #623 - Generating the dialogs in rust code reduces the number different places needed to add a new dialog. The new file dialog allows users to choose a document size and a file name using this new system.
  • Draw the outlines of shapes on hover and selection #609 - This allows users to more easily see which layer they are about to select based on user feedback
Debugging tools
  • Improve message ordering to use a stack #707  -  The message ordering now uses a tree like structure
  • Log message tree #728 - use ASCII art to improve debuggability of previous code change (as shown below)
  • Prevent subsequent panics for already borrowed editor #689 - When part of the editor panicked (crashed) it would then cause other panics leading to people becoming confused over the source of the crash.
Picture
Bug fixes
  • Fix desynced UI #727 - The radiobuttons where not being triggered properly thanks to the new message sequencing
  • Fix IndexedDb in Firefox private browsing mode #721 - IndexDb which mfish is using for autosaving documents is not available in firefox private browsing mode and so was causing the editor to crash. This stops the crash and adds a dialog box warning users that their work will not be autosaved
  • Fix path overlays and pen tool click #720 - The path overlays were not being updated on selection change
  • Fix ctrl enter to commit text #675 - The ctrl enter shortcut was being sent to the textbox instead of to the text tool meaning that the shortcut no longer worked (thanks to Keavon for spotting this)
  • Fix hover outline #673 - The outline when hovering over a shape did not update when the document was moved and only when the mouse was moved
  • Restore the zoom to fit behaviour #641 - When zooming on an empty document a division by zero occurred
  • Keyboard menu/widget navigation #628 - Users can more easily tab through different menus as well as using the up and down arrows to use dropdown menus.




















0 Comments



Leave a Reply.

    Advert:

    Author

    I am doing lots of projects every projects all the time and I can't put them all on the website so I've made a blog.

    Archives

    August 2022
    April 2022
    March 2022
    February 2022
    January 2022
    November 2021
    October 2021
    August 2021
    July 2021
    June 2021
    April 2021
    March 2021
    June 2020
    May 2020
    April 2020
    March 2020
    September 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    November 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017

    Categories

    All

Proudly powered by Weebly
  • Home
  • Blog
  • C# / Unity
  • C++ / Unreal Engine
  • Python strategy games
  • Python arcade games
  • Python other
  • Machine Learning
  • C
  • Scratch
  • Coding and electronics
  • How I learnt to code
  • Project Euler
  • Feedback