mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
COM is really a nightmare... Use managed solution (SharpCompress) instead
This commit is contained in:
@@ -9,6 +9,9 @@ namespace QuickLook.Plugin.ArchiveViewer
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (values[0] == DependencyProperty.UnsetValue)
|
||||
values[0] = 1;
|
||||
|
||||
var level = (int) values[0];
|
||||
var indent = (double) values[1];
|
||||
return indent * level;
|
||||
|
Reference in New Issue
Block a user