Sfoglia il codice sorgente

Squelches a warning about missing font-family when dragging the icon

David Wimsey 11 anni fa
parent
commit
ff176cd828
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      Samples/basic/drag/data/icon.rcss

+ 7 - 0
Samples/basic/drag/data/icon.rcss

@@ -19,3 +19,10 @@ icon
     
     drag: clone;
 }
+
+icon:drag
+{
+    /* Since this is an ad-hoc element, we need to define the font face to 
+       avoid runtime warnings about not having a font-family defined       */
+    font-family: Delicious;
+}