view nodejs/examples/testsvg/svgviewer.js @ 1215:8e372ae69010

Fix the issue of showing active mark for a frame in a tween - Does not show active frame if user set an active frame in a tween and move the to other frame. - Frameline only redraw active mark of the current active frame is same as one of new hover and last hover frame. - It is fixed by detecting if the crruent active frame is in the same frame as one of new hover and last hover frame.
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 05 Jan 2011 18:53:54 +0800
parents a74b4d986a91
children
line wrap: on
line source

// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
// vim: sw=4:ts=8:sts=4
var svg = require("svg");
var mbapp = require("mbapp");

app = new mbapp.app();
app.loadSVG("test.svg");
app.loop();