1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opener = _____WB$wombat$assign$function_____("opener"); 10"use strict";(self.webpackChunk_motion_canvas_docs=self.webpackChunk_motion_canvas_docs||[]).push([[798],{876:(e,t,a)=>{a.d(t,{Zo:()=>l,kt:()=>h});var n=a(2784);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function s(e,t){if(null==e)return{};var a,n,o=function(e,t){if(null==e)return{};var a,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var c=n.createContext({}),m=function(e){var t=n.useContext(c),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},l=function(e){var t=m(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),p=m(a),u=o,h=p["".concat(c,".").concat(u)]||p[u]||f[u]||i;return a?n.createElement(h,r(r({ref:t},l),{},{components:a})):n.createElement(h,r({ref:t},l))}));function h(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=a.length,r=new Array(i);r[0]=u;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:o,r[1]=s;for(var m=2;m<i;m++)r[m]=a[m];return n.createElement.apply(null,r)}return n.createElement.apply(null,a)}u.displayName="MDXCreateElement"},50:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>m});var n=a(7896),o=(a(2784),a(876));const i={slug:"version-2.3.0",title:"Motion Canvas v2.3.0",authors:"aarthificial"},r=void 0,s={permalink:"/blog/version-2.3.0",editUrl:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/blob/main/packages/docs/blog/2023-02-11-version-2.3.0.mdx",source:"@site/blog/2023-02-11-version-2.3.0.mdx",title:"Motion Canvas v2.3.0",description:"Features",date:"2023-02-11T00:00:00.000Z",formattedDate:"February 11, 2023",tags:[],readingTime:.59,hasTruncateMarker:!1,authors:[{name:"Jacob",title:"Motion Canvas Creator",url:"http://web.archive.org/web/20230317133943/https://twitter.com/aarthificial",imageURL:"http://web.archive.org/web/20230317133943/https://github.com/aarthificial.png",key:"aarthificial"}],frontMatter:{slug:"version-2.3.0",title:"Motion Canvas v2.3.0",authors:"aarthificial"},prevItem:{title:"Motion Canvas v2.4.0",permalink:"/blog/version-2.4.0"},nextItem:{title:"Motion Canvas v2.2.0",permalink:"/blog/version-2.2.0"}},c={authorsImageUrls:[void 0]},m=[{value:"Features",id:"features",level:3},{value:"Bug Fixes",id:"bug-fixes",level:3}],l={toc:m};
10function p(e){let{components:t,...a}=e;return(0,o.kt)("wrapper",(0,n.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h3",{id:"features"},"Features"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"A new ",(0,o.kt)("a",{parentName:"li",href:"/docs/nodes"},(0,o.kt)("inlineCode",{parentName:"a"},"LaTeX"))," node!\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/228"},"#228"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/4c26d2aaf0c697486639aa917cd5c585d3d0ea74"},"4c26d2a"),")"),(0,o.kt)("li",{parentName:"ul"},"CodeBlock themes (documentation coming soon)\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/279"},"#279"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/fe34fa8ebfe66cd356fb1c3d85adedef11e03b45"},"fe34fa8"),")"),(0,o.kt)("li",{parentName:"ul"},"An ",(0,o.kt)("a",{parentName:"li",href:"/api/2d/components/Shape#antialiased"},"antialiased")," property for Shapes\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/282"},"#282"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/7c6905d72c6c2f49e10f0a80704c0afe3504d01b"},"7c6905d"),")"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"/api/2d/components/Rect#smoothCorners"},"Smooth corners")," and\n",(0,o.kt)("a",{parentName:"li",href:"/api/2d/components/Rect#cornerSharpness"},"sharpness control")," for Rects\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/310"},"#310"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/f7fbefd27f7f6972cfb5a45a68e5d0aed9593ae4"},"f7fbefd"),")"),(0,o.kt)("li",{parentName:"ul"},"A simpler ",(0,o.kt)("a",{parentName:"li",href:"/api/core/utils#debug"},(0,o.kt)("inlineCode",{parentName:"a"},"debug"))," function\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/293"},"#293"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/b8708732af0fc08d9ff9eeecbbb77d65f1b36eb8"},"b870873"),")"),(0,o.kt)("li",{parentName:"ul"},"Multiple new ",(0,o.kt)("a",{parentName:"li",href:"/api/core/tweening#createEaseInBack"},"easing functions"),"\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/274"},"#274"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/f81ce43019fe253e99f4ab6311c2251b40e2eae3"},"f81ce43"),")"),(0,o.kt)("li",{parentName:"ul"},"Tweening to/from undefined values now warns the user\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/257"},"#257"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/d4bb79145300b52c4b4d101df2afaff5ea11a9e9"},"d4bb791"),")"),(0,o.kt)("li",{parentName:"ul"},"API documentation is always re-build when in ",(0,o.kt)("inlineCode",{parentName:"li"},"build")," mode\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/298"},"#298"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/27a4d96593d8e925385252b0d6f62646cd9fa6d5"},"27a4d96"),"),\ncloses ",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/294"},"#294"))),(0,o.kt)("h3",{id:"bug-fixes"},"Bug Fixes"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("inlineCode",{parentName:"li"},"textWrap={'pre'}")," now works in Firefox\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/287"},"#287"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/cb07f4bdf07edc8a086b934ca5ab769682b9a010"},"cb07f4b"),")"),(0,o.kt)("li",{parentName:"ul"}
10,"Using space to play/pause the animation when focused on the play button now\nworks properly\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/299"},"#299"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/191f54a0a5a9de2fd2dc27bffc6d21d692ce6f72"},"191f54a"),")"),(0,o.kt)("li",{parentName:"ul"},"The glossy effect on the select element has been removed in Safari\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/issues/292"},"#292"),")\n(",(0,o.kt)("a",{parentName:"li",href:"http://web.archive.org/web/20230317133943/https://github.com/motion-canvas/motion-canvas/commit/9c062b26e48fbdb1905daae25a3fb34df82307d3"},"9c062b2"),")")))}p.isMDXComponent=!0}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.